nsuriac Posted April 9, 2015 Share Posted April 9, 2015 Hello! i midified the global.css and the specific superflish-modified.css to change the menu position and with. After that, i realized that the links were not working and the hover efect also was broken. My question is why? i didnt changed any clases or even changed any .tpl file or .php. I been reading the blocktopmenu.php file and everything sems fine. I can't understant why the javascript is not doing it's job. Thats how the prestashop looks like: I will be very happy if anyone helps me! thank you! Link to comment Share on other sites More sharing options...
nsuriac Posted April 9, 2015 Author Share Posted April 9, 2015 url? it's in a local server... Link to comment Share on other sites More sharing options...
nsuriac Posted April 9, 2015 Author Share Posted April 9, 2015 After reversing all chenges i did to se what was the change that produced the submenus and hover stop working, i realized its just when delating the clear:both; from .sf-contener. I did that to display the logo and the menu inline. why is it wrong? Thank you! Link to comment Share on other sites More sharing options...
nsuriac Posted April 10, 2015 Author Share Posted April 10, 2015 (edited) Hi Enrrique. Thank you for answering me. I'm sorry for not following the forum rules. I will read them carefully before my next post. About the environment, I'm working with a local server. I'm using UniserverZ. The modified theme is the default-bootstrap. As I said, I went back to se what part of the css was breaking the menu effect, and I found it was a delated "clear:both" in the file superfish-modified.css located in "C:\UniServer\www\prestashop\themes\default-bootstrap\css\modules\blocktopmenu\css". Then, my question was more about understanding how files are linked and how it exactly works in prestashop. As I could see in the code, the hover and menus effects are achieved by javascript and not by css. How is it possible that a change in the css affects the javascript? Otherwise, I have just seen that now on chrome inspector tool it appears that the rendered files are the .scss ones, located in "C:\UniServer\www\prestashop\themes\default-bootstrap\sass\modules\blocktopmenu\css", instead of the .css one mentioned before. Why this change? Definitely I got problems understanding how prestashop works. Any help will be very apreciated. I upload the screenshoot again: Edited April 11, 2015 by nsuriac (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now