WordPress.org

Forums

Unite
[resolved] header image too small (9 posts)

  1. cmcc56
    Member
    Posted 1 year ago #

    I am trying to get my header image to span the full width of the page. I tried updating the custom header.php file to be wider but I am not seeing any updates. Is there somewhere else I should be making this change?

    http://enchantingdigitalworld.com/

    function unite_custom_header_setup() {
    add_theme_support( 'custom-header', apply_filters( 'unite_custom_header_args', array(
    'default-image' => '',
    'default-text-color' => '000000',
    'width' => 960,
    'height' => 150,
    'flex-height' => true,
    'flex-width' => true,
    'wp-head-callback' => 'unite_header_style',
    'admin-head-callback' => 'unite_admin_header_style',
    'admin-preview-callback' => 'unite_admin_header_image',
    ) ) );

  2. Jitendra
    Member
    Posted 1 year ago #

    You can use this css for achieving what you want:

    header .site-branding.col-md-6, header .social-header.col-md-6 {
        width: 100%;
    }
    header .site-branding.col-md-6 {
        margin-bottom: 50px;
    }
    #social.social {
        margin-top: -100px;
    }
  3. fenocin2014
    Member
    Posted 1 year ago #

    Where would I paste this ccs code?

  4. Jitendra
    Member
    Posted 1 year ago #

    You can paste it at the bottom of your style.css file or in the custom css (if your theme has that functionality).

  5. natechavin
    Member
    Posted 11 months ago #

    I pasted the code into my style.css file under the theme folder that I am using but my header is still small. Do I need to paste it into a different style.css file?

    Thanks

  6. Jitendra
    Member
    Posted 11 months ago #

    Hello,

    If your theme supports Custom CSS field, then you can add your code there in your Custom CSS. But if your theme does not supports that, then you can use some Custom CSS plugin for achieving that.

    Hope that helps. Feel free to ask if you need any other help.

    Thank you.

  7. natechavin
    Member
    Posted 11 months ago #

    I did that as well but it hasn't changed. I'm in the process of moving a blog over from wordpress.com to siteground hosting and I haven't pointed the nameservers over yet so I'm having to do all the changes using my hosts file on my local machine. This is causing some issues with wordpress and may be why I can't resolve it at the moment.

  8. natechavin
    Member
    Posted 11 months ago #

    Sorry the previous post posted incorrectly at first. Thanks for your help!

  9. Jitendra
    Member
    Posted 11 months ago #

    Welcome.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.