Shopify themes, liquid, logos, and UX
Hi
I have two different images on desktop and mobile. I was wondering if the opacity on desktop only is able to be amended. Currently if I do 20% it does it for both. I just need it for desktop only. Please can I get codes for mobile 0% and desktop 20%?
Solved! Go to the solution
This is an accepted solution.
@Ankita31 , Sorry for replying late
You can change the code i sent you before like this
<style>
@media only screen and (min-width: 990px) {
h2.banner__heading.h2 > br {
content: "";
margin-right: 10px!important;
}
.banner__box {
max-width: 100%!important
}
h2.banner__heading.h2 {
font-size: 3rem;
}
#Banner-template--14328136794241__image_banner::after {
opacity: 0.2
}
}
</style>
It will apply for only desktop view
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
@Ankita31 , Sorry for replying late
You can change the code i sent you before like this
<style>
@media only screen and (min-width: 990px) {
h2.banner__heading.h2 > br {
content: "";
margin-right: 10px!important;
}
.banner__box {
max-width: 100%!important
}
h2.banner__heading.h2 {
font-size: 3rem;
}
#Banner-template--14328136794241__image_banner::after {
opacity: 0.2
}
}
</style>
It will apply for only desktop view
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024