• Resolved raptor84

    (@raptor84)


    Hello.

    Background and set up of the theme:
    – Static front page with widgets
    – Blog set to page created by myself

    Problem:
    Problem image

    Found this --> left in the code. It seems to stop Main Sidebar from being displayed on blog page because when I get rid off it in Chrome Inspect Element it loads.

    Chrome Inspect Element

    I’ve tried to look for the tag --> and predeceasing div in theme files with Atom editor and nothing unusual came up.
    Spent good few hours on this now and it’s beyond my skills.

    Please help 🙂

    Artur

Viewing 7 replies - 1 through 7 (of 7 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi Artur, can we by chance have a link to your site so that we can take a look?

    Have you made any customizations to your site, and if so, are you using a child theme? What version of Sela are you using?

    Thread Starter raptor84

    (@raptor84)

    Hi sacredpath,

    Website is still under development here .

    Using child theme based on 1.0.15 version with some customisation done via child theme files.

    Same bug on original theme.

    Thanks for response.

    Artur

    Hi Artur,

    There may be some stray code in your posts or in your widgets causing the layout issue.

    As a starting point, could you try temporarily removing the widgets in your sidebar one by one and check to see if it loads each time? If you can pinpoint a widget that’s causing the issue then you can take a deeper look at its code.

    If you can’t find a widget that’s causing the issue, try looking at the HTML of each of your posts to see if you can spot any stray </div> tags or similar.

    Let us know how you get on with those steps!

    Thread Starter raptor84

    (@raptor84)

    Hi Siobhan,

    No luck.
    Checked 5 different widgets, including Text with only “Test” word in it. All the same. Still showing --> in the sidebar area.
    Didn’t find any </div> in unusual positions.

    Came across next issue. I changed background from white and after sections (posts, divs on pages) I have a white line below them. How to get rid off them please?

    Artur

    Hi Artur,

    I tested and it’s not possible to replicate the issue on a clean install of Sela. It’s therefore likely the issue is being caused by a customisation or some content on your end.

    If you’re not able to find any stray code in your widgets or posts, could you try disabling your plugins one by one to test if any are inputting code? If that doesn’t work, I suggest installing a fresh copy of Sela to see if that resolves the issue.

    Came across next issue. I changed background from white and after sections (posts, divs on pages) I have a white line below them. How to get rid off them please?

    Those lines are being added via the following CSS:

    .hentry:after {
        background: #f2f2f2;
        display: block;
        position: relative;
        left: -5.1%;
        width: 110.2%;
        height: 1px;
    }

    You could remove them by adding the following custom CSS to your child theme’s style.css file:

    .hentry:after {
        background: none;
    }

    Hope that helps!

    Thread Starter raptor84

    (@raptor84)

    Hello,

    Thanks for the code for bottom white lines.

    Like you said, missing sidebar is a result of my messing around width the theme code.

    Re-installed original Sela and sidebar worked.

    Thanks again, I’m starting by hunt now 🙂

    Artur

    Awesome! I’m glad you were able to pinpoint the issue. 🙂 If any extra questions come up then please don’t hesitate to start a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sidebar not loading after broken commentary tag’ is closed to new replies.