Hey everyone,
is it possible to create a gradient of a color for the header, transitioning from dark at the top to transparent at the bottom?
Could you maybe help ? @PageFly-Kate
Thanks in advance
Hey everyone,
is it possible to create a gradient of a color for the header, transitioning from dark at the top to transparent at the bottom?
Could you maybe help ? @PageFly-Kate
Thanks in advance
Hello There,
Admin go to online store β themes β actions β edit code
Find Asset >base.css and paste this at the bottom of the file:
.announcement-bar.color-accent-2.gradient {
background-image: linear-gradient(to right, red , yellow);
}
Thanks for your help Zestard
But I donβt mean with that the Announcement Bar rather the Header
Hello There,
Admin go to online store β themes β actions β edit code
Find Asset >base.css and paste this at the bottom of the file:
sticky-header.header-wrapper.color-accent-1.gradient {
background-image: linear-gradient(to right, red , yellow);
}
I think now it should work but I have a question before I apply it
Could we make the gradient from top to bottom ?
And is it maybe possible to mention the colors as a HEX Code #β¦ ?
Hello There,
Admin go to online store β themes β actions β edit code
Find Asset >base.css and paste this at the bottom of the file:
sticky-header.header-wrapper.color-accent-1.gradient {
background: linear-gradient(to bottom, #33ccff 0%, #ff99cc 100%);
}
Hello @moehajje
Itβs GemPages support team and glad to support you today.
I would like to give you a solution to support you.
Go to Online Store β Theme β Edit code.
Open your theme.liquid theme file.
Paste the below code before :
Result:
You should consider using another color, the color you want looks pretty bad.
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
@ZestardTech
It works but the problem with it is, that the gradient is in fornt of the logo and options.
It should be as a background
Could we fix it somehow ?