WordPress.org

Forums

Leaf
[resolved] Header Image Size (9 posts)

  1. theflairexchange
    Member
    Posted 2 years ago #

    I would like to use a header image that is 250x250. I've attempted adding to the custom CSS box, with no success. Suggestions welcomed.

  2. Josh Hardman
    Member
    Posted 2 years ago #

    Either target the img directly or add a class to the image like so:

    <img src="#" class="headerImage" />

    Then in CSS:

    .headerImage{
    width: 250px;
    height: 250px;
    }

  3. bradthomas127
    Member
    Theme Author

    Posted 2 years ago #

    @theflairexchange -Leaf supports custom Headers, Go to your Dashboard => Appearance => Header => and you can upload on there.

  4. theflairexchange
    Member
    Posted 2 years ago #

    @bradthomas127 - When I upload a header image there, I'm being forced to crop it to a height of 90px.

  5. bradthomas127
    Member
    Theme Author

    Posted 2 years ago #

    When you first upload it does it give you the expand box(white dashed lines) like this screenshot? If not you might need to update date your WordPress install.

    I see your from Orlando, i lived there most of my life.

  6. theflairexchange
    Member
    Posted 2 years ago #

    Yes, I was in an older version of wp. I updated and all is well. Thanks for your help. Yes, I am in Orlando!

  7. theYiffer
    Member
    Posted 2 years ago #

    I'll reopen the thread with this question. Is the Leaf theme structured to accept larger header images? I can monkey with the size in the leaf_custom_header_setup() function within custom-header.php, but the theme seems to be inherently restricted. Like it's within a table cell that has a predefined size. (It probably is within a cell. :P )

    Thanks!

  8. Andrew
    Forum moderator
    Posted 2 years ago #

    Re-opening threads or posting on others' threads for your own support is against forum rules. Create your own thread.

  9. theYiffer
    Member
    Posted 2 years ago #

    Sorry! :(

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.