- This topic has 2 replies, 2 voices, and was last updated 1 month, 3 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Food Restro Pro › How to remove the top image and menu name of a page?
Tagged: food restro pro
I need to remove the header image that appears in every page under the menu and on top of the main content of each pages and as well the text that appear above the image.
Every page includes this image by default and its possible to disable the image but the space stays with the text. I want to disable only in a couple of them and avoid that empty space so visitors can get into the content immediately of my choose pages.
Is there any CSS code that I can add to the page of my choice and to disable image and text headers?
Hello, @CARITO Please add this CSS in the Additional CSS
.postid-121 #page-site-header {
padding: 63px 0;
background-image: none !important;
}
.postid-121 header.page-header {
display: none;
}
As you can see the postid here please change that postid with the id of the page that you want to make the changes
Go to Customizer >> Appearance >> Additional CSS, paste the above CSS there, and published the site.
let us know if you have any issues with it.
Regards,
Themepalace
I could not make it work with the recommendation.
So this is what I am doing. When editing the page I get the id and then used in the CSS code like this:
.postid-774 #page-site-header {
padding: 63px 0;
background-image: none !important;
}
.postid-774 header.page-header {
display: none;
}
I added it to the CSS section and published the change, nothing happens. I do still see the Page label and the Featured Image on the page.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |