WordPress.org

Forums

Fifteen
[resolved] Delete the empty space between header and content (9 posts)

  1. bleede
    Member
    Posted 1 year ago #

    Hi,

    does anyone know how I should to remove the empty space between header and content? I tried to find info in .css but I barely could do it. Maybe someone knows?
    Adress of photo http://s29.postimg.org/nh6afwch3/Untitled.jpg

  2. salsaturation
    Member
    Posted 1 year ago #

    Can you provide a link to your site as well

  3. bleede
    Member
    Posted 1 year ago #

  4. salsaturation
    Member
    Posted 1 year ago #

    If you don't already have a Child_Themes or a custom.css you should install a plugin like custom CSS plugin then add the following to the custom css area.

    #header-top #social-icons, #header-2 {
    display: none;
    }
    
    #header-top a img.main_logo {
    margin-bottom: 0;
    }
    
    #content {
    margin-top: 0px;
    }
  5. bleede
    Member
    Posted 1 year ago #

    It worked ! Thank you

  6. salsaturation
    Member
    Posted 1 year ago #

    you are welcome

  7. mashael
    Member
    Posted 1 year ago #

    heloo salsaturaion

    im use your code to delete the space but its not work
    my website http://www.coffeeshopsa.com/

  8. salsaturation
    Member
    Posted 1 year ago #

    @mashael

    As per forum etiquette it is always better to start you own topic. The themes are different (sixteen theme vs fifteen theme) so the code will not work. Anyway not sure what you are trying to achive but this should be a start

    header #social-icons img {
    padding-top: 0px;
    }
    
    #nav-wrapper {
    margin-top: 0px;
    }

    and if you qwant to get rid of the social icons as well

    then do

    #top-section #social-icons, #header-2 {
    display: none;
    }
    
    header #social-icons img {
    padding-top: 0px;
    }
    
    #nav-wrapper {
    margin-top: 0px;
    }
  9. mashael
    Member
    Posted 1 year ago #

    @salsaturation
    Thaaankkksss alot , its work !
    hope the best for u =)

    sorry for that , i will post a new topic next time
    can i have your [Moderator note: Please don't solicit contact information here]

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.