becciames Posted September 7 Share Posted September 7 I already have some custom code on my blog to make it narrower .BlogList .sqs-col-12 .sqs-block { width: 60% !important; max-width: 60% !important; } But I just want it centred on the page. Which seems like it should be pretty simple code. Help! Thanks in advance xo, Rebecca Link to comment
Lesum Posted September 7 Share Posted September 7 @becciames You can add this code snippet to center the content: .BlogList .sqs-col-12 .sqs-block { margin: 0 auto !important; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
becciames Posted September 7 Author Share Posted September 7 But then it becomes full width again. How do I keep it at 60% width? Link to comment
Lesum Posted September 7 Share Posted September 7 @becciames Don't remove your previous code. Just add the code I wrote in my previous post. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
becciames Posted September 7 Author Share Posted September 7 Oh, I didn't. This is what it looks like. . This Link to comment
Lesum Posted September 7 Share Posted September 7 @becciames You added it wrong. It's missing a "}" in the code. Remove everything and add this code: .BlogList .sqs-col-12 .sqs-block { width: 60% !important; max-width: 60% !important; margin: 0 auto !important; } Ziggy 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
becciames Posted September 7 Author Share Posted September 7 You are AMAZING!!! Life saver! Thank you so much!!! Lesum 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