• Hey guys, I’m currently using the pixel theme and I’m having a strange problem. Anytime I choose a permalink other than default it will make my logo at the top of the page disappear! I’ve searched the code and I can’t figure out why enabling permalinks would do this.

    Has anyone else run into this problem? What did you do to fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Not used this theme, so I may be wrong here but…

    …it sounds as though the image’s URL was given as a hard coded relative link. So when you change the ‘directory’ in the URL the position of the image file relative to the new page isn’t the same.

    Again, this is of course just an educated guess on my part, having not used this theme.

    Have a look at the code in header.php and see if the src=”…” is something like:

    src="<?php bloginfo('template_directory'); ?>/image-subdirectory(if any)/image-filename.ext"

    OR

    src="<?php bloginfo('stylesheet_directory'); ?>/image-subdirectory(if any)/image-filename.ext"

    hth

    Thread Starter Emperorr

    (@emperorr)

    Sigh.. now not only is changing it back to default not fixing it, somehow the headers are gray even though I’ve tried numerous times replacing the stylesheet with the original stylesheet.

    Here’s the link, maybe you can see what’s going on in the code:

    https://evolvepoker.com

    Thread Starter Emperorr

    (@emperorr)

    I was able to fix the missing logo. For some reason it being in a <h1> </h1> made it not appear. I have removed this.

    However, I still can’t figure out why my headlines are gray now, I keep looking over the stylesheet and can’t find anything. Any help on this one is greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Logo disappearing when custom permalinks used, please help!’ is closed to new replies.