jah1006 Posted October 1, 2022 Share Posted October 1, 2022 Site URL: http://www.jennharrington.com Hello, I'm trying to have my gallery pages span the full width of the browser. I'm on 7.0 and using the Charlotte template. It does appear to fill the full width on some small screens/when I reduce the size of the browser, but on my 27" monitor it's about 50% white space, and I'd like for the images to be full width regardless of screen/browser size. Attached you can see the amount of white space in different browser sizes. Is there any way to do it via CSS? It's not an option in the Site Styles page. Link to comment
tuanphan Posted October 2, 2022 Share Posted October 2, 2022 Add to Design > Custom CSS > Then save & reload the site body.homepage main#page { max-width: 100% !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jah1006 Posted October 2, 2022 Author Share Posted October 2, 2022 10 hours ago, tuanphan said: Add to Design > Custom CSS > Then save & reload the site body.homepage main#page { max-width: 100% !important; } Thanks @tuanphan, this worked for the homepage. Is there a way to apply it to all gallery pages, not just the homepage? Link to comment
jah1006 Posted October 2, 2022 Author Share Posted October 2, 2022 Did some guesswork with the code provided and added this to Custom CSS and it seems to be working: body.collection-type-gallery main#page { max-width: 100% !important; } tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment