Enterprise theme – Can’t use a custom image for header

  • Author
    Posts
  • #479429

    timethief
    Member

    I see that you have received an answer from devblog who is a CSS guru in this thread. https://en.forums.wordpress.com/topic/css-code-for-enterprise-theme/page/2?replies=51 Please be mindful that the CSS ugrade is not recommend to those who do not have a working knowledge of HTML and CSS. devblog is Volunteering to help. He’s not volunteering to teach CSS editing.

    #479430

    I understand that. I’m in the process of learning CSS. Quite frankly, all I originally wanted to do with the CSS upgrade is change the URL text color, which I was able to figure out. There was nothing to indicate that the header change feature would no longer work.

    #479431

    timethief
    Member

    @kingsfan3
    Hi there. What I know about CSS would be lonely on the head of a pin. However, I have read many threads and I have seen that answer given over and over again. Se here > https://en.forums.wordpress.com/topic/changing-header-image-2?replies=3#post-469719 I also know that CSS editing on any wordpress.com is theme specific but that’s where what I know ends.

    #479432

    “If you have edited the CSS on any theme at wordpress.com you can no longer use the custom image header uploader. Once you have edited the CSS then the header image URL must be included in the CSS stylesheet.”

    Something about this should be spelled out by WordPress.com somewhere on the customize header page. Although it’s entirely possible that I just missed it when purchasing the CSS upgrade, it really should be more apparent.

    #479443

    Hi all,

    Using a custom header image and Custom CSS at the same time is possible on blogs. We have information on what to look out for at:

    http://en.support.wordpress.com/editing-css/#maintaining-your-custom-header

    If you keep those tips in mind you should have no problem keeping your custom header images appearing even with customized CSS.

    #479444

    devblog
    Member

    Andrew,

    That’s just redundant.

    What’s the point in uploading twice the same image? I mean, it is true that you could have both custom header and custom CSS at the same time, but if you’re going to define it in the selector’s definition… why upload it through the custom header feature?

    Now you may say that what if someone uses the custom header feature, and later purchases the custom CSS upgrade, why that person would have to revert the header to the default image and use CSS instead? Well, because there have been many instances when people have had problems because of that and the issue gets fixed when they ‘reset’ their header through the custom header feature. My memory fails me at the moment but maybe another volunteer can give some references to where this kind of things had happened.

    #479445

    “If you have edited the CSS on any theme at wordpress.com you can no longer use the custom image header uploader. Once you have edited the CSS then the header image URL must be included in the CSS stylesheet.”

    That’s incorrect. Once you’ve edited CSS, you can still use the built in Appearance -> Header page as long as you don’t have Custom CSS that overrides that header image.

    If you try to set a custom header image from Appearance -> Header and then also use Custom CSS to set the header again–that’s redundant. The link Andrew provided shows how to avoid that:
    http://en.support.wordpress.com/editing-css/#maintaining-your-custom-header

    @devblog So, I’d ask the opposite. Why define a custom header in the Custom CSS when you can just use the custom header feature? :)

    #479446

    devblog
    Member

    Because, why would you want to set something in two different places when you can set it in just one? or What if they want to widen the layout? then they would be pulling their hair in frustration wondering… “oh why my header image is resizing to a smaller size!? this sucks!”

    Just imagine also, that if they wanted to change the background color, it’d not only be inefficient but unnecessary laborious setting one thing in the stylesheet, then navigating away to the custom header page just to upload the image there.

    #479447

    Right, the point is to only set it in one place. If you set a custom header on the Appearance -> Header page, then no need to set a custom header image with Custom CSS. And vice versa.

    So, there are definitely cases where you would want to override the Appearance -> Header page (such as widening the layout or changing colors used in the custom header background), but all of the Enterprise theme examples in this thread are not any of those cases.

    #479448

    The thing is, when we are helping people out here in the forums, we really haven’t the time to go through and determine if this person or that one has widened their layout or changed the side of the header by doing a comparison of all the widths/heights in the CSS, and where a person who starts a thread may not have widened the theme, another person coming into the thread may have and then as devblog says, they end up beating their heads against the monitor wondering why the solution won’t work for them.

    That is one of the reasons we always tell people to put their header image stuff directly into the CSS if they have the CSS upgrade.

    I’m simply not going to spend all that time figuring out if they have changed the size of the header. It ends up wasting their time and ours having to ask a bunch more questions or having to go in and compare their CSS to the original.

    #479449

    Sorry for the tone above, it was harsh.

    But you get the idea: avoid confusion and head banging.

    #479450

    devblog
    Member

    Yes, they aren’t any of those case, still it doesn’t stop it from being redundant.

    Maybe it doesn’t matter in Enterprise, but if you do a search you’ll find many threads where people, who have the CSS upgrade, had complain that their custom header doesn’t work anymore. Hence, that’s the advice us volunteers have given for a long time.

    #479451

    @devblog, that is a good point. We’ve seen that issue for a long time.

    #479452

    I wonder if part of that could be due to people pasting the entire stylesheet into the edit window? Me thinks it could be, but I haven’t the gumption to investigate it right now.

    #479453

    devblog
    Member

    TSP,

    Yes, and that’s what I said in one of my previous posts:

    because there have been many instances when people have had problems because of that and the issue gets fixed when they ‘reset’ their header through the custom header feature.

    You have good points in what you posted too. I couldn’t agree with you more.

    #479454

    devblog
    Member

    I wonder if part of that could be due to people pasting the entire stylesheet into the edit window? Me thinks it could be, but I haven’t the gumption to investigate it right now.

    Yes, that may be part of the problem. We will be able to confirm this the next time someone complains their custom header has stopped working.

The topic ‘Enterprise theme – Can’t use a custom image for header’ is closed to new replies.