How to box the top part of site?

Posted in: Newspaper
Post count: 2

So I uploaded a background image to make my site a boxed layout. However, the white space doesn’t cut off at the top to ‘box the site’. I’d like to have the background show in-between the top of the site and the address bar. Is this possible? Thank You!

*FYI – I don’t have a ‘Top Header Menu’ and I do not want to use one. So the white space just goes up to the address bar.

  • This topic was modified 9 years by taylorp.
Post count: 20688

Hi,

You could set a margin for the page using a code like this – https://www.screencast.com/t/Jj1PXGASc
so the background would display like you want. However you should enter this code in Theme panel->Advanced Css in the desktop section – https://www.screencast.com/t/DpdoGI2fGXxy because it may not look properly on smaller devices. This is the code used

.td-boxed-layout {
margin-top: 48px;
}

Thanks

Post count: 2

Hi Simion, worked like a charm, thanks for the fast response!

Can I use this code for the Ipad landscape and Ipad portrait too?

Thanks!

Post count: 20688

Hi,

If you would like the code to apply for all the devices, you must enter it in Theme panel->Custom Css
https://www.screencast.com/t/ebAfi4MQu
Or for specific device resolutions in Theme panel->Advanced Css
https://www.screencast.com/t/JN9nBOuhL

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.