- This topic has 9 replies, 3 voices, and was last updated 4 years, 4 months ago by
Ying.
-
AuthorPosts
-
November 12, 2021 at 5:08 am #2001297
Thomas
Hello,
I would like to use a hero image on desktop and just a color (no image) an mobile for my site http://swisscommissioning.kinsta.cloud.
What is the best way to accomplish this?
Thank you very much for your help.
Best regards,
Thomas
November 12, 2021 at 7:45 am #2001437David
StaffCustomer SupportHi there,
if you’re are using GenerateBlocks Prom then you can use the Advance Backgrounds option.
https://docs.generateblocks.com/article/advanced-backgrounds/
You can then set the background just for desktop.
Let us know – if not Pro user and ill provide some CSS.
November 12, 2021 at 8:08 am #2001760Thomas
Hello David,
Thank you very much for your fast reply.
Yes, I am a Pro user – but the “Advanced” option is missing if I want to configure the background for a container.
Do you have an idea why this is missing?
Thank you very much for your support.
Thomas
November 12, 2021 at 8:13 am #2001767David
StaffCustomer SupportSilly question – do you have the GenerateBlocks Pro plugin installed and activated ?
November 12, 2021 at 8:28 am #2001782Thomas
Yes, installed and activated.
All modules are activated except the secondary nav.
I started to use a preconfigured layout from the site library.
Hmmh…November 12, 2021 at 11:37 am #2001963Ying
StaffCustomer SupportYes, installed and activated.
All modules are activated except the secondary nav.Sounds like you are talking about GeneratePress Premium, what David asked was GenerateBlocks Pro, can you confirm?
November 12, 2021 at 12:04 pm #2001989Thomas
I have the following WordPress plugins installed and activated:
– GenerateBlocks 1.4.0
– GP Premium 2.1.1Where can I find “GenerateBlocks Pro”? (it is not in the download section of my GeneratePress dashboard)
Thank you,
Thomas
November 12, 2021 at 2:40 pm #2002102Ying
StaffCustomer SupportGenerateBlocks Pro is a paid plugin, you can find more info here: https://generateblocks.com/pro/
The plugin allows you to add different background image for different devices.
Seems you don’t have this plugin stalled, then give this CSS a try:
@media (max-width: 768px) { .gb-container.gb-container-352e6923 { background-image: none; background-color: blue; } .gb-container.gb-container-352e6923:before { content: none; } }You can replace the
bluewith your own color code.Let me know 🙂
November 13, 2021 at 6:26 am #2002575Thomas
Hello Ying,
Thank you very much for your fast help – the provided CSS is working!
Thomas
November 13, 2021 at 5:15 pm #2003355Ying
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.