luca_p Posted November 17, 2022 Share Posted November 17, 2022 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 Link to comment Share on other sites More sharing options...
luca_p Posted November 18, 2022 Author Share Posted November 18, 2022 is there a method to edit this page from the files in the hosting? Link to comment Share on other sites More sharing options...
luca_p Posted November 18, 2022 Author Share Posted November 18, 2022 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 please, does anyone have any suggestions? Link to comment Share on other sites More sharing options...
daniele dexter Posted November 18, 2022 Share Posted November 18, 2022 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 More sharing options...
luca_p Posted November 18, 2022 Author Share Posted November 18, 2022 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 More sharing options...
daniele dexter Posted November 18, 2022 Share Posted November 18, 2022 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 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