• Resolved pauljamestill

    (@pauljamestill)


    Hi

    I have just read a resolved Q&A thread of 3 months ago, about changing margins. the advice is that I should edit the blog.css:

    .container{
         width: 970px;
    }

    (changing this to whatever)

    I can’t find any sign of blog.css in coeur. I’ve added a blog.css with this code in the root of my child theme, and I’ve also added it to style.css, all with no effect. So I’m at a loss. If anyone can can offer any advice I would be enormously thankful.

    best wishes
    paul

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter pauljamestill

    (@pauljamestill)

    (also) there’s nothing in the style.css of the coeur parent system that my child is based upon?

    Can you post a link to your site?

    Thread Starter pauljamestill

    (@pauljamestill)

    thanks, sure, it’s http://www.tirady.com/blog

    it picks up the container class – i’d tested that by changing background-color.

    I find that by changing the .row width I can see the results, but I can’t manage to move the left margin to the left. I’ve tried setting padding, border, width to 0 and left to various quantities to both .row and .container (the class that wraps around it), to no effect. The div inside .row is then dynamically set, in my case to <main class="row-md-9 col-sm-8 col-xs-12 blog" style="float:left">; not sure about this.

    I also find that .home{} .blog{} .custom-backgroun{} are set dynamically. I’ve tried setting padding, border, margin and left, also to no effect.

    (maybe I should mention that I’ve removed the menu from my child Header.php, but I don’t think I removed any important formatting or content code)

    looking forward to hearing any ideas you may have

    Thread Starter pauljamestill

    (@pauljamestill)

    oops, sorry, slight typo

    this works:
    http://www.tiardy.com/blog

    You could try setting the left margin on the .container to zero, using a custom CSS plugin:

    .container {
    width: 970px;
    margin-left: 0;
    }
    Thread Starter pauljamestill

    (@pauljamestill)

    miraculous! thanks so much for that.

    When I add that formatting to the style.css, which I thought would over-ride the coeur css it doesn’t, but when put into that plugin it works. I’m not sure why, I guess it over-rides any classes or ids, somehow.

    thanks so much for the help, I really so gratefully appreciate it!

    best wishes
    paul

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘can't find any formatting in style.css, can't find blog.css’ is closed to new replies.