Home Forums WordPress Themes – Premium Celestial (Celestial Reloaded) Different header image for each language version

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #15428


    I have bi-lingual site using Celestial Reloaded. I was able to translate all the content on the site with the WPML plugin with the exception of the header image.

    The header image has some text and in order to translate it I need to use an alternative image for each language version.

    Per WPML’s documentation, they advise to insert the following code into the relevant



    As far as I can tell, the div of the header image has the id of “wp-header”. The problem is, I can’t find the file where the code/function which sets the content of that div is located.

    So my questions are as follows:

    1. Is this the best way to handle what I want to achieve (i.e. a different header image for each language version)?
    2. If so, where do I put the code? Where is

    Sushil Adhikari

    Never seen this done before so it will be interesting to know if this works out for you…but your question number 1 is one I cannot answer because I’ve never seen this done before. As for the relevant

    and what file, this would be the “sidebar-showcase.php” file. However, please be aware that if you modify the theme files and you update the theme, you will lose the changes you made, which is why a child theme is best for making these kinds of modifications to the parent theme (the actual theme itself). Celestial Reloaded does come with a child theme you can install, but also be aware if and when you decide to use it, upon activation, WordPress will see it as a new theme activation. This means you will need to redo your theme option settings, re-assign widgets, your menu, etc. Unfortunately, this is just how WordPress works.

    As a side note: When you paste code into the forum posting, please highlight the code and then on the editor you will find a icon button that looks like this and when mousing over, it says “Code”. I edited your post for you to do this, so now your code is wrapped in that grey box. If the code is displayed as you had it, it could conflict with the actual page coding for the forum because the browser might think it’s actually page code B)

    Aki Christina

    I am not familiar with WPML but if I get you right another possibiliy may help by
    using the plugin “Dynamic Widgets” as you can
    1. open the “text” widget
    2. insert e.g. header image 2. language
    3. place it in “banner header”
    4. use the dynamic widget to chose the sites you want it to appaer

    Works fine with the plugin Polylang that also provides me a checkbock to chose if it should appear for all languages or a specific one, within the widget.

    Good luck with whaever solution will work.


    Thank you for your help! Yes, that was the right file — I had to add the two “if” statements and put a hard link to the img src. I am using the child theme but I do appreciate your advice on this!

    I’ll remember about pasting the code for the next time – thanks!

    All the best!


    Aki Christina – thank you for your advice! Your solution worked as well (and doesn’t require changing the code) but I couldn’t get the curve effect to work if I put the header within the showcase. Since the site owner liked the curve, I ended up using the coding solution. But I do appreciate your response and help! Thank you!

    Sushil Adhikari

    What is good about this is that for others who might encounter the same situation, they now have two different solutions to choose.
    Thanks Aki for the other one 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.