Static front page content area
-
Hi Roman,
Wondering if you can help with the following.
I just set a static front page. While I was building and previewing the page, it had the normal content area width of 1140px, with a background on either side, and it maintained responsive margins as it shifted down screen sizes.As soon as I actually assigned it as the static front page, the content area stretched across to fit the entire width of the screen. I’m trying to get it back to the normal dimensions, with the 1140px width and responsive margins.
I tried adding the following CSS, but it made the content area aligned to the left instead of centered, and was not responsive either:
.home .content-area {
max-width: 1140px !important;
}I then tried to center the content-area, but couldn’t seem to get it to work (I might have done this wrong).
I also tried manually adding margins to the content rows of the page – this worked, but for some reason the background of the new margin space was the wrong color (plain white) and I couldn’t figure out how to change it to match the normal background.
If you have any suggestions, I’d very much appreciate it. I have a child theme, so can create a front-page.php file to overrule the Moesia parent if need be.
Many thanks,
RichardThe page I need help with: [log in to see the link]
- The topic ‘Static front page content area’ is closed to new replies.