KatieBurkhart Posted October 14 Posted October 14 Site URL: https://www.pointvalue.co/news Hello. I've aligned certain pages on my site to the left (see www.pointvalue.co/work-with-us). I'd like to align the news page the same way, but can't use spacers to do it. Is there code that would do the trick?
tuanphan Posted October 16 Posted October 16 You can (1) use this code to Website Tools > Custom CSS div[id*="0d3eef2e550235b687de7a1_intro"] .html-block { width: 100% !important; max-width: 100% !important; } (2) then add a spacer block on left of text 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!)
KatieBurkhart Posted October 16 Author Posted October 16 Hi Tuanphan. I'm not looking to align the text block. That's easily done with spacers. I'm looking to change the alignment of the section below: You can see the alignment I'm looking for on our Work With Us page (pointvalue.co/work-with-us)
tuanphan Posted October 19 Posted October 19 You can use this to Website Tools > Custom CSS body.view-list .html-block { margin-left: 0 !important; } body.view-list .BlogList { margin-left: 0 !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!)
KatieBurkhart Posted November 1 Author Posted November 1 OK! Progress. How can I edit this code to only target the desktop view?
Spark-Plugin Posted November 1 Posted November 1 Hi @KatieBurkhart, you can try this one. Hope it helps:) @media (min-width: 1000px) { body.view-list .html-block { margin-left: 0 !important; } body.view-list .BlogList { margin-left: 0 !important; } } - Answered by Iuno from sparkplugin.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment