New Front EN › Support Forums › Kabuki Theme Support › Full-width page troubles
Tagged: full width custom type posts
- This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by cleitner.
-
AuthorPosts
-
May 8, 2015 at 2:04 pm #6784cleitnerParticipant
Hi
I have some troubles showing my custom type post projects on a full width page. If I choose the full width page layout, the side bar will not be shown but the sidebar space is kept as a blank space and will not be used by the actual content of the page.
Is this the same problem as described by “mahenbala” 1year and 8 month ago? Can I use the same procedure to resolve it?http://www.buehnenwerkstatt.at/buehnenwerkstatt-projekte/
please let me know!
thanks christophMay 8, 2015 at 3:55 pm #6790satoriKeymasterHey Christoph,
since the URL you’ve linked to is not a “project” post-type nor a custom post type in general, but a new page template, you should add a corresponding declaration for the #content element to stretch to 100% of width – to do this, you can add the new page layout to the declaration on line 537 of the theme’s “style.css” file, so it looks like this in total:
.page-template-page_full-width-php #content, .page-template-page_full-width-no-header-php #content, .page-template-page_portfolio-four-column-php #content, .page-template-page_portfolio-three-column-php #content, .page-template-page_portfolio-two-column-php #content, .page-template-page_portfolio-one-column-php #content, .page-template-single-workshops-php #content { width: 100%; padding: 0; }
Sincerely,
Andrii / Satori StudioMay 8, 2015 at 10:09 pm #6792cleitnerParticipantHi Andrii,
thanks a lot you have such a great and quick support!!I have changed it in this way:
.page-template-page_full-width-php #content,
.page-template-page_full-width-no-header-php #content,
.page-template-page_portfolio-four-column-php #content,
.page-template-page_portfolio-three-column-php #content,
.page-template-page_portfolio-two-column-php #content,
.page-template-page_portfolio-one-column-php #content,
.page-template-single-php #content,
.page-template-single-project-php #content {
width: 100%;
padding: 0;
}other page template was an old leftover
This works now for my page where I have displayed the grid: http://www.buehnenwerkstatt.at/buehnenwerkstatt-projekte/
but when selecting a single project it will appear again only over 2/3 of the page: http://www.buehnenwerkstatt.at/essential_grid/drifting-through-farbflusskoerper/what do you think?
thanks christoph -
AuthorPosts
- You must be logged in to reply to this topic.