[resolved] Category Description Margins (6 posts)

  1. Velanche
    Posted 2 years ago #

    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!

  2. Robert Dall
    Theme Author

    Posted 2 years ago #

    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.



  3. Velanche
    Posted 2 years ago #

    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,

  4. Velanche
    Posted 2 years ago #

    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!

  5. Robert Dall
    Theme Author

    Posted 2 years ago #

    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)

  6. Velanche
    Posted 2 years ago #

    Cool! Thanks again, sir!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic