NiceThemesHow to make a Full Width Article? – NiceThemes http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/feed/ Mon, 21 Apr 2025 07:17:32 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5674 <![CDATA[How to make a Full Width Article?]]> http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5674 Thu, 14 May 2015 16:45:27 +0000 jasonfnorth I’m aware how to create a Full Width Page, but how about a Full Width Article?

]]>
http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5677 <![CDATA[Reply To: How to make a Full Width Article?]]> http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5677 Thu, 14 May 2015 17:30:05 +0000 Juanfra Aldasoro Hello Jason,

Thanks for writing and hoping that you are doing well today.

Actually, the template for articles is only one, so there’s no way to set a full width distribution within the options, or while creating the article.

What you can do is set a full width structure from the css rules. Something like:


body.single-article #content {
    width: 100% !important;
}

body.single-article #sidebar {
    display: none !important;
}

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5684 <![CDATA[Reply To: How to make a Full Width Article?]]> http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5684 Fri, 15 May 2015 14:19:09 +0000 jasonfnorth Hi Juanfra… happy Friday, thanks for your help.

The problem is we only want 1 or 2 articles to be full-width, but we want all of the others to remain standard with the right sidebar.

Will your code above make ALL ARTICLES full-width? If so, that won’t work.

Thoughts?

Cheers,
Jason

]]>
http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5685 <![CDATA[Reply To: How to make a Full Width Article?]]> http://nicethemeswp.com/forums/topic/how-to-make-a-full-width-article/#post-5685 Fri, 15 May 2015 14:45:25 +0000 Juanfra Aldasoro Hello Jason,

Thanks for the follow up.

Well, each article page has its own identifier. You can get that identifier by checking the body class of that page with firebug. For example, something like postid-43

Then, instead of using body.single-article, you need to use body.postid-43 to apply the rule only for that article.

Best,
Juan.

]]>