- This topic has 20 replies, 3 voices, and was last updated 3 years, 7 months ago by
Ewa.
-
AuthorPosts
-
September 17, 2018 at 1:30 am #678973
Ewa
Hi,
I would like to change the gradient used on this hero image(and on every other site too): the http://lzejszejutro.ewap.stronazen.pl/o-mnie/
.page-hero {
background-image: linear-gradient(0deg, rgba(9,9,9,0.66),rgba(9,9,9,0.66)), url(http://lzejszejutro.ewap.stronazen.pl/wp-content/uploads/2018/09/monika-slowi-psychodietetyk.jpg);
}Where may I overwrite it?
Greetings,
EwaGeneratePress 2.1.4September 17, 2018 at 4:00 am #679040David
StaffCustomer SupportHi there,
you can just add that code to your CSS:
https://docs.generatepress.com/article/adding-css/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 17, 2018 at 5:12 am #679091Ewa
Hi,
thank you – I know this, but here the problem is that I can/t change only the gradient (I don’t want to change an image) and when I put code
.page-hero {
background-image: linear-gradient(0deg, rgba(9,9,9,0.66),rgba(9,9,9,0.66));
}to custom CSS and try to change opacity – it doesn/t work, the featured image disappear.
So I decided to create my own header with elementor (no default header with featured image), so that I can put my own gradient on it. But there is another problem – when I tried to disable page header it didn’t work. I clicked “Disable page hedaer” but it was still there, the same was with menu – I had to put code in custom css
.page-hero.inner-pages-header {
display: none;
}and then header disappeared. But I would prefer to disable header separately on every site via generatepress options not with code.
September 17, 2018 at 5:25 am #679099David
StaffCustomer SupportHi there,
you could use this CSS and just add your gradient, with no background color overlay set in the Hero.
.page-hero, .page-hero .inside-page-hero { position: relative; } .page-hero:before { content: ''; position: absolute; top: 0; right: 0; left: 0; bottom: 0; background-image: linear-gradient(0deg, rgba(9,9,9,0.66),rgba(9,9,9,0.66)); /* add your gradient */ }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 18, 2018 at 4:33 am #680012Ewa
Thank you, but there is still a problem with hiding header or menu via site settings – I/m not able to do this without code.
September 18, 2018 at 9:30 am #680352Leo
StaffCustomer SupportAre you trying to hide the menu on that page?
If so you can use the disable element metabox on that page.
Let is know if this helps ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 19, 2018 at 6:09 am #681056Ewa
I’ve already tried to hide menu and header using the disable element options, but it doesn’t work.
September 19, 2018 at 3:57 pm #681609David
StaffCustomer SupportHi there,
try using the Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 20, 2018 at 4:45 am #682020Ewa
Thank you, it seems to work now.
September 20, 2018 at 4:59 am #682042David
StaffCustomer SupportYou’re welcome. Just a note if your are making changes to Archive pages then Meta Boxes such as the Disable Elements won’t work in the Page editor. WordPress doesn’t allow it.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 25, 2018 at 2:59 am #685729Ewa
Hi,
I’m coming back with the same question – I tried to disable primary navigation, and it worked, but I am still not able to disable title, header, featured img. I can do so only using code, and I don’t want to do this this way
September 25, 2018 at 9:17 am #686046Leo
StaffCustomer SupportAre you referring to this page? http://lzejszejutro.ewap.stronazen.pl/o-mnie/
If so the image and “Kim jestem” are all added in Elementor.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 1, 2018 at 4:08 am #690528Ewa
Yes, they are, but all above sectons are not visible only because I added this code
.page-hero.inner-pages-header {
display: none;
}in custom CSS
And I prefer not to use code, but disable it using Generate options.
October 1, 2018 at 5:14 am #690568David
StaffCustomer SupportSo you want to remove the Header Element on that page?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 1, 2018 at 5:21 am #690572Ewa
Yes ๐
-
AuthorPosts
- You must be logged in to reply to this topic.