Support » Theme: simpleX » [Theme: simpleX] Header just vanished

Viewing 9 replies - 1 through 9 (of 9 total)
  • in addition, all my formatting is wrong, links to read more are gone, all sorts of custom work i did to the blog has been erased. PLEASE HELP.

    URGENT 🙁

    How did it get there in the first place? As far as I can see, the simpleX theme doesn’t have a header image. In the foreground, at least.

    You could put a background image by altering this rule:

    #header {
      background-attachment: scroll;
      background-clip: border-box;
      background-color: #282923;
      background-image: none;
      background-origin: padding-box;
      background-position: 0 0;
      background-repeat: repeat;
      background-size: auto auto;

    It’s in this file.

    No idea why the navigation doesn’t show up. It’s called like this (in functions.php:

    function theme_nav() {		
      if ( function_exists( 'wp_nav_menu' ) )
        wp_nav_menu( 'sort_column=menu_order&container_class=menu&menu_class=&menu_location=main-menu&fallback_cb=gpptheme_nav_fallback' );

    According to the codex:

    “Given a theme_location parameter, the function displays the menu assigned to that location, or nothing if no such location exists or no menu is assigned to it.”

    SimpleX calls wp_nav_menu() like this:

    wp_nav_menu( 'sort_column=menu_order&container_class=menu&menu_class=&menu_location=main-menu&fallback_cb=gpptheme_nav_fallback' )

    That doesn’t tie up with what I see in the Codex, but maybe I’m misunderstanding something.

    Sorry I can’t be of more help.



    Ah! I see you did a lot of custom work. Did you do a theme update recently and did you not do your custom work in a child theme?

    Do you have a backup of your changes?



    thanks so much for trying, yeah my blog was 100% dialed in for about 2 years. and as of yesterday it was perfect, as of today, totally f*cked. was their an update that came through yesterday? would that have erased all the code i have written?

    I do not know what a child theme is. And I might have a very old copy of my changes. crap, would this thing overwrite all my code. i never knew that, and there was no message to that effect. damn.

    this is what my site used to look like:

    how do i create a child theme?
    and if i can find a back up of my files, can i just drop them into my FTP directory? will that mess up the theme?

    So i found a copy that was from June 30th. I took the entire simplex theme folder, and replaced all files. however many things didnt come through.

    – nav still busted
    – no background image in header, although logo shows now
    – everything is centered

    might i need to change files that are NOT in this folder.

    thanks for your help Peredur. life saver!

    Creating a child theme is child’s play:

    It’s the recommended way to make changes and prevents theme updates from overwriting your changes. Unfortunately, it’s a bit late to be saying this to you now. I’m sorry.

    Assuming your theme’s been upgraded I wouldn’t copy your old files back. It could lead to inconsistencies. You’ll need to go through your backup noting your changes and then incorporate them into your child theme. Most of your changes appear to have been in the header, so it should be fairly easy to locate your changes: and you can use Firebug on the web archive to see what your HTML/CSS used to be.

    A bit of work, but probably not the end of the world.

    Of course, I’m assuming that it’s an upgrade that’s responsible for all this: but I’ve no evidence that my suspicions are correct, beyond the circumstantial.



    I’d still copy everything into a child theme and then completely reinstall simpleX.

    After ensuring that everything works OK in that state I’d weed the child theme files by:

    • Getting rid of any known not to have changed out of the child theme altogether
    • Doing a diff on the remaining files to find any more that haven’t changed
    • Using diff again to find the stylesheet changes and leaving only the changes in the child theme stylesheeet following the @import of the parent stylesheet

    Make sure you keep copies of things before making any changes.



Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Theme: simpleX] Header just vanished’ is closed to new replies.