• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

My Bootstrap 5 layout is not right when I go below lg

 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using HTML 5, CSS and Bootstrap 5

I have a page heading in which the layout looks good (in my opinion) in screen sizes 'lg' and above. However, once I go below 'lg' the second image on the left moves from under the first to next to it and the right hand image drops. I am moving the heading text to below the images on screens below 'lg' so it looks better and that is working fine.

My code is as follows.

CSS:


HTML 5 with Bootstrap 5:



Any help greatly appreciated.

Kind regards,

Glyn
Page-less-than-lg.PNG
[Thumbnail for Page-less-than-lg.PNG]
Page-lg-and-greater.PNG
[Thumbnail for Page-lg-and-greater.PNG]
reply
    Bookmark Topic Watch Topic
  • New Topic