WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help with border around content/container (10 posts)

  1. Insany
    Member
    Posted 2 years ago #

    Hello wordpress buddies.

    I am currently working on the design of my photoblog: http://photo.asgers.com

    Unfortunately I am having trouble adding borders around the content/container.

    I have added the following to my style.css

    #content {
    border: 1px solid #AAAAAA;

    }

    It does add some borders but it also "throws" my sidebar down to the bottom.

    Any help is appreciated,

    Best regards
    Asger

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try reducing the width of the sidebar from 224px to 222px.

  3. Insany
    Member
    Posted 2 years ago #

    Thank you so much for your suggestion esmi, unfortunately it only "pushes" the text and textbackground. :(

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Other options might include increasing the right hand margin on #padder or reducing the left & right padding on #padder.

  5. Insany
    Member
    Posted 2 years ago #

    I have tryed to look in Sidebar after padder and margin but I can't find it, where do I change or add a code? And what is the code?

    Your help is much appreciated!

    Best regards
    Asger

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Try looking in style.css.

  7. Insany
    Member
    Posted 2 years ago #

    Hi again.

    I have tryed to change a lot of settings on style.php but nothing have helped so far :(

    I've been looking really much into this code:

    div#content .padder {
    		margin-right: <?php if($cap->sidebar_position != 'full-width' && $cap->sidebar_position != 'left'){ echo $cap->rightsidebar_width; } else { echo '0'; } ?>px;
    	}
    	div.v_line_right {
    		right: <?php echo $cap->rightsidebar_width ?>px;
    	}

    Is this the code I am supposed to change??

    Look forward hearing from you! :- )

    [Please post code snippets between backticks or use the code button.]

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    Looks like your theme uses a dynamic .css file. You're probably better off asking about this on the theme's forum: http://themekraft.com/forums/

  9. Insany
    Member
    Posted 2 years ago #

    Thank you esmi, I have made this post:
    http://themekraft.com/groups/custom-community/forum/topic/help-with-border-around-contentcontainer/

    I still look forward hearing from anyone with a suggestion!

  10. Insany
    Member
    Posted 2 years ago #

    Still haven't solved this, anyone got an idea of what to do??

Topic Closed

This topic has been closed to new replies.

About this Topic