Okay
  Public Ticket #1908738
Question regarding logo en left menu setup
Closed

Comments

  • Richard started the conversation

    Hi,

    I am developing a website with a designer where we are using the Salient theme. Website is under construction at the moment. 

    I was wandering if it is possible, with a left menu setup, to have a logo as background (so menu items shows as a layer on the logo wich is set as background). Please also see attached screenshot.

    Thank you for your help.

    Regards,

    Richard

  •  8,996
    Tahir replied

    Hey Again,

    Yes you can use a simple css snippet to set a image on the Div. 

    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.

    Best


    ThemeNectar Support Team 

  •   Richard replied privately
  •  8,996
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    div#header-outer {
        background-image: url(https://www.irmavantoledo.nl/wp-content/uploads/2016/09/about-team-member-big.jpg);
        background-size: cover;
        background-position-x: 90%;
    }

    Thanks


    ThemeNectar Support Team 

  • Richard replied

    Hi Tahir,

    Thank you very much! I get the idea. Is it also possible to center the background image with the same CSS?

    Thank you for your help!

    Regards,

    Richard

  •  8,996
    Tahir replied

    Yes you can adjust any property you like. See url : https://www.w3schools.com/css/css_background.asp .

    Best


    ThemeNectar Support Team 

  • Richard replied

    Hi Tahir,I have added an image with these dimensions:

    766 bij 1200 pixels

    but it doesn't show well on the website. How can I get the full image into the background? Now it only shows portions. See attached screenshot the part on the left.

    Regards,

    Richard

  •  8,996
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    div#header-outer {
       background-size: contain;
    }

    Thanks


    ThemeNectar Support Team 

  • Richard replied

    Thanks! I also added:

    background-repeat: no-repeat;

    and now it works!

    Regards,

    Richard