Support » Theme: r2d2 » Category Description Margins

  • Resolved Velanche


    Hi There:
    I wanted to line up the margin of the category description for some of my pages with the post excerpts. For instance, if you look here…

    You can see that the left margin for the category description at the top is not flush with the post.

    I was scouring through the child and parent CSS sheets, but no luck in finding the appropriate style to fix this. If I change the <p> style, it also affects the post styles too.

    Hope you can point me in the right direction to get this sorted; thanks much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Robert Dall


    Hi Velanche

    First I would set up Custom CSS using JetPack Plugin or some similar plugin.

    That way if you update the r2d2 theme you won’t lose your css changes.

    Secondly I would add this to your custom css to help with the category description.

    .archive-title, .archive-meta {
        max-width: 918px;
        width: 100%;

    You can then change the max width to match your content.

    Also if you looking for a tool to help with the css changes I really like firebug.



    Thanks for the reply, Robert.

    I have just installed Jetpack per your recommendtaion, but will deal with how to make use of the custom css, etc., later on.

    Once that’s done, I’ll give your suggestion a try. Will get back to you.

    All the best,

    Hey RD:
    Thanks again; tried out your suggestion, and that seems to have done the trick! Now the archive paragraph is just about flush with the left side, so looking good!

    Last question that I have, and it has to do with the custom CSS. I have already added some custom CSS items to the style.css file in the theme. If I read you correctly, you are suggesting to take all of my custom styles to Jetpack so that when the theme gets updated, the custom styles won’t be overwritten. Is that right?

    Have a good one!

    Theme Author Robert Dall


    Yes you got it!

    As long as you have jetpack installed it will preserve all of your changes regardless of how often I update the theme.

    (Lets hope I don’t have to update the theme again and have found all the bugs)

    Cool! Thanks again, sir!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Category Description Margins’ is closed to new replies.