Tagged: change content container width
Hello,
I need to increase the main content container on a single post. I’ve found the css to change to affect all posts:
#main > div.container_wrap.container_wrap_first.main_color.sidebar_right > div > main {
width: 80% !important;
}
This code increases the main container from 73% to 80%, but I only want to do it for post-3605. Is this possible? I can’t get it to work.
Thanks,
Guy
Hello,
I need to increase the main content container on a single post. I’ve found the css to change to affect all posts:
#main > div.container_wrap.container_wrap_first.main_color.sidebar_right > div > main {
width: 80% !important;
}
This code increases the main container from 73% to 80%, but I only want to do it for post-3605. Is this possible? I can’t get it to work.
Thanks,
Guy
Hi,
Thanks for your patience and the link to your site, please try this css in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field
#top.postid-3605 #main > div.container_wrap.container_wrap_first.main_color.sidebar_right > div > main {
width: 80% !important;
}
After applying the css, please clear your browser cache and check.
If this doesn’t help please include the direct url to the post in question so we can take a closer look.
Best regards,
Mike