• I’m using Blix on my test blog: https://cinencuentro.innereyes.com

    I’m trying to get the sidebar to work for “Pages” too, like here: https://cinencuentro.innereyes.com/lista-de-resenas/

    I added <?php get_sidebar(); ?> right after <?php get_header(); ?> like suggested, but it wont work.

    I should also mention that I’d like some “Pages” to appear on the navigation bar on top, maybe just 2 or 3, and then I plan to do “Pages” for certain topics, but I dont want these to appear on the nav. bar

    I read some posts here someway related to my problem, but they’re not clear enough to understand them.
    I hope someone can help me with this. Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • leann

    (@leann)

    Here’s one solution:

    If you open up the header template and scan down to the <body> tag you’ll see this:

    <div id="container"<?php if (is_page() && !is_page("archives")) echo " class=\"singlecol\""; ?>>

    You need to change it to this:
    <div id="container">

    or you can alter the singlecol styles to match the home page layout.

    I have the same problem, I did write <div id=”container”>, but it didn’t work.

    I have the same problem, I added <?php get_sidebar(); ?> and changed the <div id=”container”<?php if (is_page() && !is_page(“archives”)) echo ” class=\”singlecol\””; ?>> to <div id=”container”>

    Still not working, any ideas?

    Thanks,

    Andy

    I just got it to work. You should also change the line in sidebar.php from <?php if (is_home()) { ?> to <?php if (is_home() || is_page()) { ?> That should make the sidebar show up in all pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blix sidebar on pages’ is closed to new replies.