Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #853358

    Good morning, I’m creating this site:
    http://proyecto1.enredamecomunicacion.com

    As you can see, the image that should be on the background of the header is only applied to the logo area (image is set to be positioned top-left). How can I solve that so that this header image (the green one) is automatically enlarged to 100% of the page?
    The image file is 2600 px wide so it should be covering completely the size of the page.

    Note: That should also be like this for mobile pages.

    Thankyou.
    Jaume Llagostera

    #853364

    Good morning,

    The same happens with the footer. I inserted an image that should be enlarged to cover all the footer but it is repeated instead. I see no way to make it enlarge.
    Original image is 1300 pixels wide so should be enough.

    Thanks

    #854686

    Hi,

    Thank you for using Enfold.

    Please add this in the Quick CSS field.

    .header_color .header_bg {
        background-size: 100%;
        background-repeat: no-repeat;
    }

    It’s better if you’re using the css gradient property instead of the image.

    // http://www.colorzilla.com/gradient-editor/

    Best regards,
    Ismael

    #858372

    Thanks for your help.

    I tried to replicate this solution for the footer but it didn’t work.

    I tried to insert:

    .footer_color .footer_bg {
    background-size: 100%;
    background-repeat: no-repeat;
    }

    unsuccessfully. Can you please help me with that?

    Best,
    Jaume

    #858435

    Hi,

    The footer image doesn’t look good when repeated. You can try this.

    .footer_color {
        background-repeat: repeat;
    }

    Best regards,
    Ismael

    #866272

    Good Afternoon

    I have activated the secondary menu on the header. I need it to use the same background image than the main header menu.

    See how it is now:

    http://proyecto1.enredamecomunicacion.com/es/

    the secondary menu appears black with the language selector (with flags. It should be text, as it happens below). That secondary menu should look the same as the main one: Degraded Green. I applied an image that is uploaded to the wordpress, so the image should be the same for both menu bars.

    Thanks

    Jaume Llagostera

    #866943

    Hi,

    Please add the following css code.

    #header_meta {
        background: #0c1c04 url(//proyecto1.enredamecomunicacion.com/wp-content/uploads/Fondo_header-300x92.png) top center repeat fixed;
        background-size: cover;
    }

    Best regards,
    Ismael

    #867371

    Thanks for your help, Ismael.
    I have inserted the code, but I see the border color of the header is disrupting both headers.
    I switched background-size to 100% so it fits perfectly with the main header background image.

    How can I prevent the header border from separating both headers?

    On the other hand, I would like to change the language selector on that secondary header. I need it to show the language text (ESP – CAT) instead of the flags. I can manage that easily when it’s on the main menu, through the WPML menu, but I’m having problems with that language selector. Can you help with that?

    Thanks again!
    Jaume

    #867954

    Hi,

    Please remove the previous css modification then use this one instead.

    #header_main {
        border: 0;
    }
    
    #header_meta {
        background: transparent;
    }
    
    #header{
        background: #0c1c04 url(//proyecto1.enredamecomunicacion.com/wp-content/uploads/Fondo_header-300x92.png) top center repeat fixed;
        background-size: cover !important;
    }

    Best regards,
    Ismael

    #868077

    Thanks Ismael

    I had to add color:transparent to header_meta as well, but it worked.

    #header_main {
        border: transparent;
    }
    #header_meta {
        border: transparent;
    }

    Thanks a lot!

    #868094

    Hi jaumellagostera,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #868180

    Hi again.
    It seems it’s not totally solved.

    I designed all the site in one of the languages (spanish) and then applied this design to the other language (Catalan) while creating translations for the page.
    After applying all theme options and all the css code I’ve got for the spanish page to the catalan one, I see this header border issue is not working well… See for your self:

    I have added the code:

    #header_main {
        border: transparent;
    }
    #header_meta {
        border: transparent;
    }

    to both languages…

    Thanks!
    Jaume

    #868196

    Looks like it’s working now. I guess it needed some time…

    #868522

    Hi,

    You’re probably looking on a cached version of the page. Anyway, glad it is fixed. Please feel to open a new thread if you need anything else.

    Best regards,
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Header background – expand picture’ is closed to new replies.