• I’m attempting to generate a page template that’s full-width with a dynamic sidebar placement at the bottom of the post; I’ve got the Sidebar bit down, but how can I make it full-width? I attempted to copy-paste the code for full-width, no sidebar into my child theme, and added a line on the bottom that inserts the dynamic bottom-of-post sidebar, but then it causes the content to compress to the left column. Can anyone help?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you provide a link to the specific page on your site-in-progress so I can take a look and provide some guidance on what you’ll need to tweak?

    Thread Starter acquilily

    (@acquilily)

    https://extantvisions.com/lxm/ch-010/

    I’m trying to remove the right sidebar and set the text to full width.

    The bottom sidebar is being used for a page navigation widget

    Hi @acquilily: Could you assign the “Full Width, No Sidebar” page template to that page so I can see what it looks like and help from there? If you don’t want to leave the layout of that particular page broken, you can set up a duplicate test page for me to look at.

    Thanks!

    Thread Starter acquilily

    (@acquilily)

    Full-Width, No Sidebar with the bottom sidebar for the page navigation widget: https://extantvisions.com/lxm/test-page/

    Full-width, No Sidebar without bottom sidebar: https://extantvisions.com/lxm/test-page-2/

    Hi @acquilily,

    Can you let me know which of the parent theme’s files you copied to the child theme in order to add the extra navigation at the bottom? I’m not seeing the page-template-fullwidth-page class in the body of the first test page you linked to, and want to try to determine why that is.

    As a workaround, while we work at fixing the core issue, you could also use some custom CSS to reduce the space left by the sidebar:

    .site-main {
        margin-right: 0;
    }

    Thanks!

    Thread Starter acquilily

    (@acquilily)

    Hi,

    I copied the same parent theme page in both instances, which is fullwidth-page.php

    For that bit of custom CSS, where would I place that? Just write it into style.css?

    You’d enter it into your cild theme’s style.css file, yes.

    Let me know how that goes!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Creating a Full-width with a sidebar’ is closed to new replies.