• Resolved Olotiriel

    (@olotiriel)


    I’m using a custom and very barebones theme for this website which uses WordPress as a CMS. The client will be adding to the the ‘updates’ page and portfolio page and the other information is basically static.

    http://elvendesign.net/client/rr/

    The only two problems I’m having right now are more stylesheet based, but in the context of WP I’m still a bit confused as to how to fix them.

    1. On the home page the slideshow should be in the top corner of the container div; I have 2em padding on all sides for my ‘contentcontainer’ div (which the home page slideshow resides in) but I want the slideshow to be unaffected by this. The padding is currently making all the other pages look how I want them to. The cop-out way for me to fix it would be to leave the padding on and make the images that make up the slideshow smaller.

    2. On the updates page I haven’t included much formatting so the posts are getting squished up. Is there a way I can space out the posts automatically (in page.php, or with extra divs/formatting or something?) and never wrap around each other?

    I’m not sure how to explain myself better at this hour, but viewing the pages should make the issues obvious. Should I provide any code? I’m pulling my hair out over this site and want to do a really good job…

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • home:

    the padding seems to come from:
    img {padding: 6px; border: 1px solid #1f1f1f;}

    remedy:
    add a new style to style.cee, using the body class .home to make it specific:
    .home img {padding-left:0;padding-top:0;}

    updates:

    try to add ‘clear:both;’ to this style:

    .img-center {text-align:center; clear:both;}

    this should make the ‘divider’ image to sit below the post.

    Thread Starter Olotiriel

    (@olotiriel)

    THANK YOU SO MUCH! I’m so happy. 😀
    I forgot about the img padding I added earlier… whoops.

    The issues are all sorted now, and you’re a treasure for pointing out exactly how to fix them! You’ve made my day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formatting help’ is closed to new replies.