Forums

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

Home Forums CSS [Solved] Need help with decoding my CSS bug

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #201955
    shellyq
    Participant

    This is my website: http://threetimesthecute.com/
    I have 2 CSS problems. First, I had to put the social media links in a table to get them to display as links but I can’t get the border at the top of the table to not display.
    Second problem: All that padding at the top. I can’t figure out where it is coming from! Any help would be MUCH appreciated!
    Thanks!

    #201958
    Gary Pickles
    Participant

    Hi Shellyq, it’s the padding on class .site-header that is pushing everything down.

    #201963
    tomhanson1985
    Participant

    Hi Shellyq,

    the border you are seeing is from the td rather than the other table tags. border: none on those will remove it.

    As Gary said above the padding is on the class .site-header.

    #201964
    shellyq
    Participant

    Aaah! Thank you! Annoying border gone!
    I didn’t write the css, (using a theme on wordpress) and have removed padding on everything I can find step by step and still can’t find exactly where the header padding is coming from. Will keep looking. Thanks for your help!

    #201966
    Paulie_D
    Member

    Looks like the padding is in here

    .site-header {
      padding-top: 5px;
      padding-top: 2.857142857rem; /* here */
      margin-bottom: 10px;
    }
    
    #201967
    shellyq
    Participant

    Off to figure out if this template is calling another CSS as this is what I have:

    /* Header */
    .site-header {
    padding-top: 0px;
    position: relative;
    }

    #201968
    Paulie_D
    Member

    Check your media queries section…the above applied at

    @media screen and (min-width: 980px)
    
    #201969
    shellyq
    Participant

    Thank you Paulie! You rock!

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