Viewing 6 replies - 1 through 6 (of 6 total)
  • try to add a style like this to layout.css of your theme:

    div.padd-post-item-single, div.padd-post-group { padding-right: 20px; }

    adjust 20px to your needs.

    Thread Starter likegluelikecrew

    (@likegluelikecrew)

    It worked but it messed up the homepage, now my Contact area shows up underneath About Us instead of to the right of it, any ideas on how I can fix that? Also, if you go to the Education button then click on Literature for Zambia Project, you’ll notice on long posts the off white background doesn’t go down to the end of the post and a white bg starts to show up about 3/4ths the way down. It doesn’t do this on the Theme Demo.

    The padding isn’t messed up on the Theme demo either, I don’t know what I’m doing to cause the original problem, I tried downloading the original theme again and installing it but I still get these same two problems, could it be something I’m doing on the wordpress site itself?

    Thanks for the help!

    you could try and change div.padd-post-group to div.padd-post-group-result

    div.padd-post-item-single, div.padd-post-group-result { padding-right: 20px; }

    that seems to work with the home page.

    the ending grey background could be caused by one of the validation errors (the one ‘end tag for element “div” which is not open ‘ )
    https://validator.w3.org/check?uri=http%3A%2F%2Fnezane.org%2Fwordpress%2Fliterature-for-zambia-project%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    it seems to be coming from the content of the post, not the theme.

    Thread Starter likegluelikecrew

    (@likegluelikecrew)

    Not sure exactly what you mean, since there’s already a few div.padd-post-group-results. Here’s the css, if you could let me know what exactly needs to be changed I’d greatly appreciate it because I have no clue about this stuff…

    [CSS moderated as per the Forum Rules.]

    Thread Starter likegluelikecrew

    (@likegluelikecrew)

    Also, I checked that link for https://validator.w3.org/check?, but I couldn’t really understand what I’m supposed to change. Is it something I need to change in the post itself or one of the css files?

    Ugh, so confusing, I thought WordPress was going to make things easier!!!

    Thread Starter likegluelikecrew

    (@likegluelikecrew)

    Ok, I got what you meant about adding that code to the line and I changed it and it worked, thanks! I still need help with the gray bg not extending all the way down on the longer posts, if someone could give me a head’s up on that I’d appreciate it.

    Also, in the Contact section on the homepage and also on the descriptions for the Featured Content Gallery, there’s a bit of code that gets stuck at the end like this:

    AKPC_IDS += “11,”;Popularity: unranked [?]

    Anybody know how to get rid of that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add padding on theme?’ is closed to new replies.