WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Width help

[Resolved] Width help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Michael

    @alchymyth

    Forum Moderator

    use a tool such as Firebug for these kind of formatting issues; http://getfirebug.com/

    your style is ok, but this style in your child theme’s styles is limiting the #content width:

    #page #content {
        width: 610px !important;
    }

    Hi

    Thanks. I’ve removd that code, and the comment section looks fine now. But now the width of the content area in the home page is is much bigger too.

    How can I have a different size in the home page then?

    Michael

    @alchymyth

    Forum Moderator

    the theme uses body_class() http://codex.wordpress.org/Function_Reference/body_class – use those extra page specific css classes to style different pages different;

    example:

    the home page has the body class .home; to make any style specific for the home page, start it with .home in connection with your style in style.css:

    .home #page #content { ... }

    Awesome, thank you, alchymyth! I really appreciate your help.

    I am also struggling with the width of Disqus. It is currently too far off to the left of my site. You can see this at http://mycurlymane.com.

    I’m not sure how to adjust this with the 2012 version of Disqus. Any help you can lend is appreciated. I’m also not deeply savvy with coding and could use some detailed steps.

    Pasting the code above in my CSS Editor seemed to do the trick!

    #disqus_thread {
    width:400px;
    margin-left:25px;
    margin-right:25px;
    margin-top:75px;
    }

    It’s still over to the left, but muuuuch better! If I wanted to adjust further, do you have any tips on the numbers I should use/adjust in the code? I’m a bit nervous about tweaking this further.

    Thank you!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Width help’ is closed to new replies.
Skip to toolbar