Jump to content

topmenu layout gone after switching themes


Recommended Posts

Hello Guys,

 

I have been working on understanding the whole theming.

I finally found out the main menu css is residing in blocktopmenu directory.

 

I changed it to my likings, but forgot where some things were, so I changed back to the default-bootstrap theme to check it.

Once I changed back to my own theme, the blocktopmenu styling was totally gone.

 

There must be some module blocking or changing it.

 

Does anyone have any idea, what might be causing the menu not to load any styling?

 

Thanks!

 

Another question I have is: what is the best workflow in styling a theme?

I have been testing different css files and changing stuff one by one to identify them, and this is costing alot of time. :(

Link to comment
Share on other sites

hello

so as i understand, you changed theme, then modified .css file, and then switchet to default-bootstrap, and at the end, you back to your changed theme

but now there is  no modifications to css ?

Link to comment
Share on other sites

What I did was this:

- create new theme called new-theme (duplicate from default-bootstrap)

- edit css (new-theme)

- change theme to default-bootstrap

- check around settings (top menu has no styling already)

- change theme to new-theme (top menu still has no styling)

 

I think there must be some modules causing it to ignore the topmenu css.

 

@update: When I check the source of the page. It doesn't show it's loading the css file at all. What can I do to add it to the "html" file? There are so many index.php files, but none of them shows the loading of each part.

Edited by ChrsL (see edit history)
Link to comment
Share on other sites

I haven't been able to find out what is causing the dissapearance of the styling.

 

I have tried doing a full reinstall -> create theme -> change theme -> change back

styling is gone immediately.. new source code doesn't mention anything of blocktopmenu anymore while before the theme change does...

 

OK.. So this module is called: top horizontal menu

I have tried unhooking and disabling modules without anything coming back. :(

 

I cannot keep working with prestashop if I want to use this default theme as a base for my custom theme when everytime I need to change theme it just destroys the top horizontal menu!

Edited by ChrsL (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...