WordPress.org

Support

Support » Themes and Templates » div indent issue

div indent issue

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ha! Funny you should mention this. I was debugging my owns site yesterday and came across it. Specifically, this:

    .row-fluid .span8 {
       padding-left: 1%;
    }

    on line 5806 of <color>.css.

    I think it’s there to indent the search results header (and may others), but it’s too non-specific, so it seems to mess up bootstrap styling in other places.

    (It also indents all posts on the posts lists, but I think that’s an unintended side effect.)

    If that’s what it’s there for (and I don’t know for sure), then to undo this effect, you could add the following to your stylesheet or Custom CSS panel:

    .row-fluid .span8 {
       padding-left: 0;
    }
    .search-header .span8 {
       padding-left: 1%;
    }

    Let us know if you spot any unintended effects.

    Theme Author nikeo

    @nikeo

    Hi @cari.h.cayton did you find a solution about this?

    By the way : I love what you have done on this website : http://www.jeanneesti.com/ This is pretty clean and good looking.

    I would really be interested to include this website in the Customizr Theme showcase. Please tell me if you are fine with it!
    Thanks

    Hi nikeo,
    From the theme’s point of view, I think it’s effectively a bug. On line 5806 of <color>.css, you have:

    .row-fluid .span8 {
       padding-left: 1%;
    }

    which causes an indent:
    – when anyone, for whatever reason uses a span8 in their html; and
    – when the blog list is formatted as span8 span4 alternating (it also messes it up when not alternating, but you only notice it when your alternating, as the left edge doesn’t line up).

    I speculated on why it’s there and suggested a fix above. Depending on why it was there in the first place, that could break something else, of course, but I haven’t noticed anything else breaking yet.

    Theme Author nikeo

    @nikeo

    OK thanks I’ll check that for next release. Now in the todo list!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘div indent issue’ is closed to new replies.