Okay
  Public Ticket #380933
Unwanted gap
Closed

Comments

  • Stefan started the conversation

    Hi.

    I am trying to get rid of unwanted space under the navbar. I want my content to start right under the navbar, but right now it´s 38 px down. The problem seems to be when i use "in container".

    screenshots:
    (comment: i want to get rid of the blue area - which is now highlighted):

    http://www.leagency.se/wp-content/uploads/2015/02/Skärmavbild-2015-02-25-kl.-13.58.27.png

  •  8,849
    Tahir replied

    Hey!

    Can you provide the direct page url where i can see that element.

    Thanks


    ThemeNectar Support Team 

  • Stefan replied

    Hi, I actually solved it by adding this to the custom CSS:

    .container-wrap, .project-title {
    margin-top: -93px!important
    }

    Not sure if it´s needed anymore since the 5.5.2 update?

    I have another question though. If you are looking at the site in mobile view, the content (text) goes all the way to the edges - making it hard to read. Is there a way to still have the background go all the way to the edges, but to keep a padding to the content?

    I already added the code below to make the background go full-width:

    @media only screen and (max-width: 1000px) {
    body .container, body div.slider-nav {
    max-width: 100%!important;
    }

    Site URL:

    http://www.leagency.se/hem-2/

    Many thanks for awsome support!

  •  8,849
    Tahir replied

    Hey!

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
    @media only screen and (max-width: 690px) {
        body .container.main-content {
            padding-left:15% !important;
            padding-right: 15% !important;
        
        }
    }

    Thanks



    ThemeNectar Support Team 

  •   Stefan replied privately
  •   Stefan replied privately
  •  8,849
    Tahir replied

    Well this is the only way i am aware off . If its causing issues then i am afraid its not possible.

    Thanks


    ThemeNectar Support Team 

  • Stefan replied

    Hmm. yeah, I am getting a red cross though, but I don't know what's causing it.

  •  8,849
    Tahir replied

    You can hover over it to get an idea. Most likely there will be a missing curly brace .

    Thanks


    ThemeNectar Support Team 

  •   Stefan replied privately
  •  8,849
    Tahir replied

    Check now.


    -T


    ThemeNectar Support Team 

  • Stefan replied

    thanks man!