editing sidebar widgets css

Discussion in 'WordPress' started by sixrfan, Apr 25, 2010.

  1. #1
    i'm trying to edit the template files for this site (http://willowbilliards.com/wordpress/) so that the sidebar widgets (Summer Hours and Upcoming Events), which are no more than text and php input widgets, are styled with a middle and rounded bottom just like the "Follow Our Updates" section that's in the sidebar as well.

    but i dont know how to edit the php code to make this happen.

    here's the code from my sidebar.php file: http://pastebin.com/vcxYYh94

    please advise. thanks.
     
    Last edited: Apr 25, 2010
    sixrfan, Apr 25, 2010 IP
  2. d-_-b

    d-_-b Member

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    Without seeing the css there isn't much we can advise
     
    d-_-b, Apr 25, 2010 IP
  3. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I just have made a Little Edit..! But I cant do anything much without actually haivng a On time Workout.. i mean i have to edit the PHp and check the result at the same time..!

    and i would need to edit CSS too..!

    You can better contact me..! :) Hoping for a Small Tip(Some Bucks) It the edit worked..!
     
    extremephp, Apr 25, 2010 IP
  4. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #4
    sixrfan, Apr 26, 2010 IP
  5. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #5
    correction, the current code I have in the sidebar file is here: http://pastebin.com/HArFKwC7

    I want to get my widgets (depicted as "Text Widget Test 1" and "Text Widget Test 2") to each be styled just like the ADVERTISING and FOLLOW OUR UPDATES sidebar sections where they're styled like this:

    top (down-curved background)
    content (w/rectangle background)
    bottom (up-curved background)

    please advise how i edit the php in the "sideb" div at the top of my sidebar.php file to get it to look like this, and match the other sidebar items????

    and i dont know if it helps, or is related, but there's a section of code in my functions.php file that i <em>think </em>is related:
    `if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'before_widget' => '<li class="widget">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widget">',
    'after_title' => '</h2>',
    ));
    ?>`

    to make a long story short, i'm still learning the intricacies of php and dont know how to style this. please advise. thanks!
     
    sixrfan, Apr 27, 2010 IP