Tagged: ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #628289

    Dear support-team,
    i want to have a custom background image above the header. (See the screenhot) Is this possible ?
    Thanks for helping

    #628401

    Hi dondela!

    Please activate the top row bar, with the social media icons and phone and we will help you remove the text and just have an image there
    Let us know when do so we can help you with the CSS code ( if you can not do it )

    Regards,
    Basilis

    #628568

    Hi and thanks for the help,
    i activated the top row bar with the social media icons and phone. How can i place an background image to the top row bar?

    #628665

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    
    #header_meta {
        background-image: url('yourimageurl.jpg') !important;
        height: 50px !important;
    }
    

    Insert your image URL and adjust the height of the top bar as you wish.

    Best regards,
    Jordan

    #628883

    Thanks for helping!
    This worked very well. Is there as well a solution to place a background image on bottom of the container. See the grey squares at the bottom of the screenshot.

    #629823

    Hey!

    Try adding this code to the Quick CSS:

    #footer{
        padding-top: 0;
    }
    #footer:before{
        content: "";
        background-image: url('http://relaunch.voltaris.de/wp-content/uploads/2016/05/square.jpg') !important;
        background-position: top !important;  
        width: 100%;
        display: block;
        height: 50px;
    }
    

    Cheers! 
    Josue

    #688532

    Hi support team,
    i added a background image to my header with this css:
    #header_meta {
    background-image: url(‘http://voltaris.de/wp-content/uploads/2016/05/square.jpg’) !important;
    height: 65px !important;
    background-repeat: repeat !important;
    background-position: top !important;
    border-bottom-style: none;
    }

    It works very well on Mac-Browsers. But in windows firefox and explorer the Background image doesn`t scale down when i minimize the browser width. So the menu does overlap the background image logo. Is there an css trick to force the background-image to scale down on windows?

    #688657

    Hey!

    Try adding this code to General Styling > Quick CSS:

    @media only screen and (max-width: 767px) {
    #header_meta {
    background-size: contain;
    }
    }

    Cheers! 
    Josue

    #689032

    Thanks for your help.
    I see no difference, the header Background-image doesnt´scale down on windows-browsers. You have another idea?

    #689437

    Hi,

    Have you checked it on an actual mobile device?

    Best regards,
    Josue

    #958505

    Hi,

    I tried the code provided by Jordan and it does exactly what I want, IF I choose to unstick the header.

    If I try to make the header sticky, part of the top of the page disappears under the header (and I can’t scroll up further). I have a fixed header height set for the menu below the image. See link.

    I want the header menu to be sticky but the top bar (the image) to be unsticky (I already tried setting sticky for both but it made no difference).

    Any advice?

    Thanks,
    Mayk

    #958534

    Never mind, just added a little extra padding to the main content, and that did it.

    .content, .sidebar {
    padding-top: 256px;
    padding-bottom: 48px; }

    #959130

    Hi mayksenden,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.