Jump to content

Main menu text is misaligned when using 'product-id'


Recommended Posts

Ive attached two pictures of my main menu header. one is from my home page, and the second if from literally any other page. asl you can see, when on my home page, the text is misaligned. this only happens on the home page. every other page, they align perfectly.

one thing i did notice, the two empty spaces are still clickable links, and they are part of the text to the left of them (no sweat balls, & gift cards). also, the two links where the gaps that are formed are pages (product-is) and not categories. the remaining links that are working correctly are categories.

so it seems like its only affecting the menu if its a product-id page and not a category. and it also only affects the home page, and no other pages.

i deleted my custom.css file and the problem still persists, so that isnt the issue

any ideas what could cause this and what i should try to change?

 

PS v8.1.5 -  PHP v8.1

Screenshot 2024-07-06 094922.png

Screenshot 2024-07-06 095000.png

Link to comment
Share on other sites

Posted (edited)
15 minutes ago, ComGrafPL said:

Have you tried with css editing?

i wouldnt know where to start. im very much new to css/php. also id like to figure out what the problem is so i can fix it. it wasnt doing this a few days ago. i just noticed it 2 days ago and havnt been able to figure out whats causing it. its only on the home page. and it only happens when product pages are used in the main menu.

i DID have some smartarget banner and pop-up modules installed, they were free trials and only worked on the homepage. i didnt like them so i uninstalled the modules and deleted them. thats about the time i noticed this issue, which also only happens on the home page. im wondering if the smartarget module messed something up when i uninstalled it?

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

10 minutes ago, ComGrafPL said:

Share url. Will be simpler to just see it.

gamerwipes.gg

i took it out of maintenance mode and disabled shopping cart. you should be able to look now. thank you for your help

Link to comment
Share on other sites

Just now, ComGrafPL said:

Maybe is because no sweat balls and gifts cards menu item are products not the category?

but it only affects the home page, thats whats confusing. if that was the case i would assume it would effect every page. the only page that its causing problems on is the home page.

Link to comment
Share on other sites

just giving an update, i found a workaround

the problem is only when putting a product in the top main menu. it doesnt do this with categories or pages, only product-id.

the workaround is to add a link instead of product id. just make a custom link, name it the same as the product, and link to that product. same result

id still like to know whats causing it to bug out with product-id. its not custom code, its built into prestashop. and it only bugs out on the home page, no other pages

oh well

  • Like 1
Link to comment
Share on other sites

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...