Register with your Envato account

Support forums

Homepage Support Magellan WordPress Magazine trying to center the banner in the header

[Resolved] trying to center the banner in the header

Homepage Support Magellan WordPress Magazine trying to center the banner in the header

This topic contains 2 replies, has 2 voices, and was last updated by  rsabillon 8 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10105

    rsabillon
    Participant

    I am trying to center the banner auxiliar with the website’s user’s logo, but I increase the size in the control panel Shop and do not Animals, I send an 70-year-old sociedades bannergunt.

    I also want to add a banner to the right side instead of using the shortcut .. is that possible?

    Attachments:
    You must be logged in to view attached files.
    #10116

    Hey,

    To place banner on right side go to theme’s settings panel under “General -> Header -> Header layout” choose “Logo on left, banner on right” setting.

    To vertically center banner, under “General -> Custom code -> Custom CSS” place this code:

    .header.header-items-2 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .logo-1.header_item.left {
        flex-shrink: 0;
    }
    
    .banner.header_item.right {
        flex-grow: 1;
        display: flex !important;
        justify-content: flex-end;
    }
    #10122

    rsabillon
    Participant

    Done! many thanks for your time .. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘trying to center the banner in the header’ is closed to new replies.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close