This topic has 7 replies, 3 voices, and was last updated 5 years, 5 months ago ago by Olga Barlow
Hello,
I’d like the background of a product slider on the main page to disappear in mobile, tablet and laptop views. Could you help me with that please?
Also, could you help me customize a button in the single product side banner? I added it with html to insert a delivery widget and I’d like it to be a dark style button from the theme.
Hello,
1) Add this code in Custom CSS for page:
@media only screen and (max-width: 992px) {
.wpb_revslider_element .tp-bgimg.defaultimg {
background-color: transparent !important;
}
}
2)
.sidebar-widget .button {
background-color: #3c8f0d;
color: white;
border: 1px solid #222222;
}
.sidebar-widget .button:hover {
color: #000000;
background-color: rgba(78,189,15,0.19);
}
Regards
Thank you!
Sorry, for the second question about the slider, I meant to apply this for a row in WP builder, because I set the background for the whole row where the slider is located. Could you please adjust CSS in your reply?
Thank you!
Hello,
Please provide a screenshot, so I can find the described place on your site and inspect the code.
Use such screenshot maker as Lightshot https://prnt.sc/
Regards
Sorry, I didn’t receive notification about your reply.
Hello,
I would recommend you to set background-position to center http://prntscr.com/oc96bm and then there is no need to hide it for the mobile devices. In other case it does not look ok for the large resolutions http://prntscr.com/oc95d4
Regards
You must be logged in to reply to this topic.Log in/Sign up