Header Image cannot be changed

  • Unknown's avatar

    Hi There,

    I continue to work on our website, (don’t know which ‘Theme’ is used)
    https://unitypavilion.auroville.org/ trying to change the Header Image.

    But even so I have uploaded a new one (in Customizing) and defined it as a Header Image it is not displayed. Anyway before I did this there was NO one defined although there was one displayed, which you still can see. (maybe not defined as such one?). How to get rid of it and assign the new one??

    Since I did coding with html&CSS former I could do this in the source code directly but I cant see any option to do that.

    Thanks for help.

    The blog I need help with is: (visible only to logged in users)

  • Hi there! I see the problem you’re experiencing.

    I believe there is some hidden code either on your home page, or within your widgets in the sidebar that is interfering with the Customizer’s ability to change the header image, because the demo site for this theme (Yoko) still has the ability to switch header images.

    Here is a link to your home page: https://unitypavilionauroville.wordpress.com/wp-admin/post.php?post=7&action=edit

    Can you let me know if there are any elements on the home page that you copied and pasted from other sources? For example, did you by chance copy and paste from Microsoft Word to create some or all of the elements on the home page?

    Thank you!

  • Unknown's avatar
    unitypavilion · Member ·

    Hi deancroyal,
    Thanks for your message.

    It is possible I have pasted one text line from LibreOffice into the page.

    If I see this makes problems I paste this text first in a text editor (Pluma on Linux, it’s like Notepad) and copy it again, pasting in WordPress to get rid of other program code.

    Anyway in the course of time several people worked on that site, so it is possible.

    Thanks for your time.

  • Hi there,

    I had a look at your site, and the problem is not code.

    The image you’re seeing on the front page is the featured image for that page. Yoko is one of our themes that support featured image headers, which means if a specific post or page has a featured image set, that will override whatever custom header you have set for the site itself.

    In other words, if you want the site’s custom header to appear on any post or page, that post or page should not have a featured image. And conversely, if you want a post or page to show an image that’s unique from the rest of the site, you can use a featured image to do that.

    To change or remove the featured image, edit the page, click on the Featured Image heading in the editor, and you can remove it from there.

    https://wordpress.com/support/featured-images/

  • Unknown's avatar

    Thank you very much @kokkieh, that is the trick.
    I see the site is using Featured images only.

    Can you show how to edit the source code of a text area? I would like to seperate the button like images from the text into a div container on the same page.
    There was a button earlier to do that in the light gray text formating frame… its gone.

  • To modify the HTML of a section of text on the site, click on it. Then in the block toolbar that appears, click the three dots, and select Edit HTML.

    However, I recommend against doing this in the block editor: Each block has very specific code it needs to work, and only allow certain types of HTML modifications. So any changes you make to a block in HTML mode has a chance of breaking the block.

    I assume you’re referring to content that already exists on your site, correct? Can you point us to the specific post/page you’re working on, and explain in a bit more detail what you’d like to do? Specifically with regards to the end result you’re looking for.

    Chances are it’s possible to achieve the same end by just using the right combination of blocks, without needing to edit any code directly.

    Alternatively, if you prefer to code this manually, I recommend you create everything from scratch inside a custom HTML block, rather than modifying the HTML of a paragraph block. That way there’s no way you can inadvertently break the block markup, and you don’t run the risk of code being stripped out because it’s not compatible with the particular block :)

  • Unknown's avatar
    unitypavilion · Member ·

    Thanks for the post Dear kokkieh.
    >>.

    .. in the block toolbar that appears, click the three dots, and select Edit HTML.

    there is no such three dot bottun, only three doted lines between two strong lines horizontally, tooltip ‘Insert Read more Tag’. But it has no effect.

    To specify:
    Yes, the content already exists, it is on the same page:
    unitypavilion.auroville.org/

    There I want to separate the buttons looking like images (‘Recent Events’ and ‘Up Coming Events’) from the text area, put them in a div container or ‘block’ to have control over the allignment (they will be changed, later one more placed addintionaly).
    Now the text is between the images since they are placed as inline elements in the text. This should not be the case.

  • there is no such three dot bottun

    I’m referring to this:

    https://d.pr/i/QBTelA

    There I want to separate the buttons looking like images (‘Recent Events’ and ‘Up Coming Events’) from the text area, put them in a div container or ‘block’ to have control over the allignment (they will be changed, later one more placed addintionaly).
    Now the text is between the images since they are placed as inline elements in the text. This should not be the case.

    If you prefer to do that via HTML in the classic block, you can edit the block as HTML as I explained above.

    But you can do this using blocks as well, using image blocks and text blocks for the images and text respectively, and using a layout-grid block or columns block to position them. To do that you’d need to convert your classic block content into blocks, using the option in the block toolbar visible in the screen shot I posted here.

  • Unknown's avatar
    unitypavilion · Member ·

    Thanks Dear kokkieh,
    I found it now, sorry I could not be here sooner.

    I wonder how could you make that screenshot (https://d.pr/i/QBTelA), you must have been logged in, I think..??

  • I wonder how could you make that screenshot (https://d.pr/i/QBTelA), you must have been logged in, I think..??

    As a member of WordPress.com’s support team I can access the editor on your site when needed, yes. Wouldn’t be able to do my job otherwise :)

    Let us know if we can help with anything else.

  • The topic ‘Header Image cannot be changed’ is closed to new replies.