Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Full-width page troubles

New Front EN Support Forums Kabuki Theme Support Full-width page troubles

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6784
    cleitner
    Participant

    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 christoph

    #6790
    mmsatori
    Keymaster

    Hey 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 Studio

    #6792
    cleitner
    Participant

    Hi 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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.