This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Full width header

Resolved 3 replies premiumthemetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

I would like to replace everything above the menu navigation with a 1500 x 300 pixel image. I have tried to upload it from Appearance, Customise, Page, Masthead Background image but this warning appeared:

Warning: intval() expects parameter 2 to be long, object given in /var/sites/c/careerdevelopment.london/public_html/wp-includes/plugin.php on line 213

Please can you advise how to do this. Thanks.

URL: http://careerdevelopment.london/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 10 years, 6 months ago

    Hi Jane

    Thanks for reaching out.

    I don’t think the warning is directly related to Vantage. The file referenced is part of the WordPress core.

    The Vantage logo is limited to 1010px wide. Perhaps try the following at Appearance > Custom CSS:

    /* Full Header Logo - Boxed Layout Bound */
    header#masthead {
    padding: 0 !important;
    }
    header#masthead .hgroup {
    padding: 0 !important;
    }
    header#masthead .hgroup .logo img {
    height: auto;
    width: 1080px;
    }
    header#masthead .hgroup .logo img[style] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    }
    .main-navigation {
    margin: 0 !important;
    }
    body.responsive header#masthead .hgroup .support-text, body.responsive header#masthead .hgroup #header-sidebar {
    display: none !important;
    }

    Then upload your logo at Appearance > Theme Settings > Logo. It’s not exactly what you’re after but the closest the theme can offer.

  2. Jane Walker 10 years, 6 months ago

    Thank you so much, that worked. I didn’t need to add your CSS, I just resized my logo to 1010 wide and uploaded it to where you said and added some display:none code to my existing css. Many thanks.

  3. Andrew Misplon Staff 10 years, 6 months ago

    Super, glad to hear you made progress.

    A quick reminder that all WordPress themes completely overwrite their own folders during theme updates. Add edited CSS rules to Appearance > Custom CSS to keep them update safe.

    All the best.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread