move widgets to the right, make text area wider
-
Hello, I would like to move the content widgets sidebar (the logos/images) to the right. And at the same time make the text area wider. If the logos could be under the CONTACT US menu and the magnifying glass that would be ideal.
Is there any way of doing that through CSS?
Thanks in advance
The blog I need help with is: (visible only to logged in users)
-
Hello there,
How’s this for desktop screen sizing? (I ask because if it’s good, might need some more code to keep the sidebar in place on the tablet size etc):
@media screen and (min-width: 1080px) .site-content, .site-main .widecolumn { max-width: 68%; width: 100%; } .hentry { width: 100%; padding: 0 20px; box-sizing: border-box; } .content-sidebar { width: 100%; max-width: 161px; } }Let me know if that doesn’t work,
Sage -
Sorry, that code won’t work, forgot a bracket, use this instead:
@media screen and (min-width: 1080px) { .site-content, .site-main .widecolumn { max-width: 68%; width: 100%; } .hentry { width: 100%; padding: 0 20px; box-sizing: border-box; } .content-sidebar { width: 100%; max-width: 161px; } } -
hello,
the first part has worked fine, the icons/widgets have moved to the right.
the second part no. The text area still has the same size, it is centered in the middle but with the same width.Thanks
-
Hey there,
Sorry about that, mind taking out the previous code and placing this code in instead?
@media screen and (min-width: 1080px) { .site-content, .site-main .widecolumn { max-width: 68%; width: 100%; } .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content { max-width: 100%; } .hentry { width: 100%; padding: 0 20px; box-sizing: border-box; max-width: 100%; } .content-sidebar { width: 100%; max-width: 161px; } }Hope that helps,
Sage -
-
-
- The topic ‘move widgets to the right, make text area wider’ is closed to new replies.