Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS wordpress widget styles

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37913
    johnjf
    Member

    I’m using widgets in my footer and I’m not sure how to style them with css. One seems to be over lapping the other. How can I go about fixing this?

    heres a link to The website

    #102269
    Luminated
    Member

    This is because your “word wrapping” is not correct. Add this to your reset:

    word-wrap: break-word;

    In other words, change your reset to:

    html,body,div,span,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,code,em,img,small,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,ol,ul,li{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; }body{line-height: 1;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content: '';content: none }table{border-collapse:collapse;border-spacing: 0;word-wrap: break-word;}
    #102307
    johnjf
    Member

    the middle widget is still overlapping my right widget. here is what I have in my functions. Do I need to edit this and add the css styles to fix it?

    if ( function_exists('register_sidebar') ) {
    register_sidebar(array('name'=>'sidebar1',
    'before_widget' => '
  • ',
    'after_widget' => '
  • ',
    'before_title' => '

    ',
    'after_title' => '

    ',
    ));
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.