Jump to content

undesired menu showing on random page


luca_p

Recommended Posts

i have an undesired menu showing on random page in the italian version of the website, i copied the same structure from the .com version but i have this random menu showing in this page, any idea on how to fix this issue?

 

this is the correct version in .com

https://www.cosmeralda.com/en/content/29-our-interview-with-carnet-de-rencontres

and this is the wrong version in .it

https://www.cosmeralda.it/content/32-la-nostra-intervista-con-carnet-de-rencontres

Immagine 2022-11-17 185913.png

Immagine 2022-11-17 185945.png

Link to comment
Share on other sites

19 hours ago, luca_p said:

i have an undesired menu showing on random page in the italian version of the website, i copied the same structure from the .com version but i have this random menu showing in this page, any idea on how to fix this issue?

 

this is the correct version in .com

https://www.cosmeralda.com/en/content/29-our-interview-with-carnet-de-rencontres

and this is the wrong version in .it

https://www.cosmeralda.it/content/32-la-nostra-intervista-con-carnet-de-rencontres

Immagine 2022-11-17 185913.png

Immagine 2022-11-17 185945.png

please, does anyone have any suggestions?

Link to comment
Share on other sites

Yes, you can modify the specific tpl file.
I don't well understand what you have to delete or change, but i think is "page-header".

If you find the specific class (For example ->  div class="page-header....) you can hide this section by using something like this:

 

.page-header{

   display:none;

}

 

in the css file of your theme.

 

Link to comment
Share on other sites

14 minutes ago, daniele dexter said:

Yes, you can modify the specific tpl file.
I don't well understand what you have to delete or change, but i think is "page-header".

If you find the specific class (For example ->  div class="page-header....) you can hide this section by using something like this:

 

.page-header{

   display:none;

}

 

in the css file of your theme.

 

thank you very much, this method deletes the undesired menu, but unfortunately it deletes the title page too...

Link to comment
Share on other sites

7 minutes ago, luca_p said:

thank you very much, this method deletes the undesired menu, but unfortunately it deletes the title page too...

In css you should find the correct class, more is specific and more you should hide only what you want.

Try to find in which class the class "page-header" is used.

Your condition should be something like this:

.first_class.second_class.page-header{ display:none; }

 

Even in this case you are hiding something else, you should comment the section by tpl file.

Can you do a SSH connection to your site?

If you use a grep command , you can find in which files this section is used:

Here an example of the command:

grep "page-header" -r -l

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