WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar Help (8 posts)

  1. kaswistry
    Member
    Posted 4 years ago #

    My site can be found here:

    kurtsevillano.x10hosting.com

    Anyway, my problem is this. The left side of my site used to have two columns after the video area. But everytime I added widgets, the two columns were supposed to disappear to accomodate the widgets but they didn't. What I did to have it my way was that I edited sidebar.php so that it won't have to call the sidebar2.php, online sidebar1.php. It worked and now I can use columns.

    But, if you'd notice in the site, the widgets are cramped in one column alone and I can't figure out how to adjust them? any suggestions?

    Also, if you could help me replicate the code used to create the about me and video boxes without breaking the theme would be a great help. I have done it awhile ago but only 90% as the theme has been breaking every now and then.

    Thanks alot.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    You could start by editing style.css and changing:

    .sidebar1 {
    float:left;
    font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
    font-size:12px;
    margin-top:5px;
    padding:1px 1px 0;
    width:158px;
    }

    to

    .sidebar1 {
    float:left;
    font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
    font-size:12px;
    margin-top:105px;
    padding:1px 1px 0;
    width:158px;
    }

    That should push the widgets down below your video.

    Then try adding:

    .sidebar1 ul li.widget {margin-top:30px;}

    to the bottom of style.css. That should space them out a little vertically.

  3. kaswistry
    Member
    Posted 4 years ago #

    @esmi

    Thanks for the tip but I don't think it worked. The sasasa text widget and the twitter widget were only pushed down and yet neither did their content NOR their heading (even the background color) make use of two columns. and I did it right.

    Any more suggestions sir?

    Thanks!

  4. kaswistry
    Member
    Posted 4 years ago #

    @esmi

    Thanks for the tip but I don't think it worked. The sasasa text widget and the twitter widget were only pushed down and yet neither did their content NOR their heading (even the background color) make use of two columns. and I did it right.

    Any more suggestions sir?

    Thanks!

  5. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    You can't make use of 2 columns unless you have 2 columns. You've taken one of the original 2 columns (sidebar2.php) out of the template.

  6. kaswistry
    Member
    Posted 4 years ago #

    I see.

    This is actually what I want to do: If you go to the website, you'll see that the way the video, about me are placed. I would like my "widgets" to do be placed the same way. Because right now, I noticed that my widgets are forced to only use one column.

    Any idea how I could do that, Sir?

    Also, If you could help me how to recreate the video box without breaking the theme, that would be of great help in the future.

    thanks!

  7. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Ah! In that case, try replacing:

    .sidebar1 {
    float:left;
    font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
    font-size:12px;
    margin-top:105px;
    padding:1px 1px 0;
    width:158px;
    }
    .sidebar1 ul li {
    clear:left;
    float:left;
    height:100%;
    line-height:18px;
    width:158px;
    }

    with:

    .sidebar1 {
    float:left;
    font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
    font-size:12px;
    margin-top:105px;
    padding:1px 1px 0;
    width:158px;
    }
    .sidebar1 ul li {
    clear:left;
    float:left;
    height:100%;
    line-height:18px;
    width:330px;
    }

    Not sure I can help with the video box, though. I'm not clear as to what you want.

  8. kaswistry
    Member
    Posted 4 years ago #

    Sadly, the site remains the same.

    if you wont mind, please check out kurtsevillano.x10hosting.com to see what happened.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.