Superfish not holding styling from one single page to another
Permalink 1 user found helpful
Hi,
Ive just learned a brilliant thing to hardcode superfish via the global scrapbook into my view.php file so all my single pages are consistent.
It worked so well that I did it with a few other things and all perfect.
EXCEPT
When I check my other single pages the styling for the superfish menu hasn't come through. Its weird in my main admin page the styling is great. Click on Edit or Avatar and its just like an autonav.
They all use view.php and the menu is hardcoded in. I'm stumped.
It seems like it could be a cache thing but its not enabled and I refreshed all the relevant single pages.
Nige
Ive just learned a brilliant thing to hardcode superfish via the global scrapbook into my view.php file so all my single pages are consistent.
It worked so well that I did it with a few other things and all perfect.
EXCEPT
When I check my other single pages the styling for the superfish menu hasn't come through. Its weird in my main admin page the styling is great. Click on Edit or Avatar and its just like an autonav.
They all use view.php and the menu is hardcoded in. I'm stumped.
It seems like it could be a cache thing but its not enabled and I refreshed all the relevant single pages.
Nige
![pixel8](/files/avatars/19714.jpg)
do you use a css file or so?
btw... maybe I should have told you so, but especially the superfish menu has caused me alot of trouble when hardcoding it, because it would not stick to the design in some pages - so I ended up using page defaults instead.. and for the single pages I just did set it up manually through the edit function and then pushed it in from the scrapbook... this was the only way I could get it work...
hopt this helps you!
hopt this helps you!
Yes thanks for that it sounds like you came across the same problem. It's quite weird to me that although I have harcoded Superfish into view.php using the global scrapbook method and it worked brilliantly for two content blocks. It only held the Superfish styling for the page I was looking at at the time ie: the opening profile page. When I open the other links the Superfish styling is gone despite the other pages using view.php.
Nevermind with all your suggestions I'm sure I will get there.
It's great functionality though.
This php lark is great!
Thanks for all your help guy.
Nige
Nevermind with all your suggestions I'm sure I will get there.
It's great functionality though.
This php lark is great!
Thanks for all your help guy.
Nige
Did you enable your custom theme for those single pages? If they're system pages (like Profile or Avatar or Register or Login), you need to explicitly tell C5 to use your theme instead -- in the config/site_theme_paths.php file.
No I haven't done that. Thanks Ill try it..