WordPress.org

Ready to get started?Download WordPress

Forums

Mantra
Header to big?? (10 posts)

  1. Jochends
    Member
    Posted 1 year ago #

    Hi,

    If i want to add a header image, its way to big..
    My dimensions of the image is 352*134 and i cropped it.
    This is the site
    This is the image

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Use the CSS background-size property and give the element that has the background a size of 352px;
    E.g

    #branding {
     ... /* Other styles here */ ...
     background-size: 352px;
    }
  3. Jochends
    Member
    Posted 1 year ago #

    Thx for the reply, but in what file do i need to add this??
    Style.css??

    Grtz

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Download (and install) a Custom CSS Manager plugin.
    Then use that plugin's allocated section of the dashboard to hold your CSS modifications.

  5. Jochends
    Member
    Posted 1 year ago #

    Hey Andrew,

    I installed the plugin called Custom CSS Manager, but if i go to the settings of the plugin, i only see a blanco page were i can't edit anything. I only see the following on the right page =>

    PLugin Diagnostics Check
    Server OS: WINNT

    Required PHP Version: 5.0+
    Current PHP Version: 5.2.13

    Memory Use: 3.6 / 256M

    Peak Memory Use: 3.6 / 256M

    Hope u can help further :)

    Grtz,

    Jochen

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    For one other person, that plugin had broken.
    I'm going to instead recommend you use the plugin Jetpack's functionality for Custom CSS.

  7. definitio
    Member
    Posted 1 year ago #

    Whatever I try, when I go to upload and set a new header image, notwithstanding its dimensions, Mantra enforces a the ration of total width to header height, so it's unusable.

    Something has got to be done about this generally or a solution provided in the form of Custom CSS.

    You don't need external plugins for that, use the appropriate field of the Theme's Settings.

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Definitio, if you require assistance beyond that provided in this thread, create your own thread.

  9. definitio
    Member
    Posted 1 year ago #

    Thank you for you reply.

    I don't think it's beyond the issue of this particular thread, but rather the exact same thing.

    When the code that you have given above is used and the user attempts to upload a header image through Appearance menu, Mantra continues to force a certain ratio (total width/header height) on that image - so only a small part of it is selectable and the cropping appears mandatory - thus the issue has not been / cannot be considered resolved.

    Is there an alternative way to place a logo at the top, other than the Header selection setting?

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    I don't think it's beyond the issue of this particular thread

    We do. Please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.