We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Dawn 15.0.0 Image banner container Transparent Opacity Change

Solved

Dawn 15.0.0 Image banner container Transparent Opacity Change

GACSTOP
Excursionist
27 1 13

Hello,

My website is currently running in Dawn theme 15.0.0. I used the following code in the base.css,

 

.banner__box {

opacity: 0.2;

}

 

to make my banner container transparency opacity on the older version. It worked like a magic. But all of a sudden the code stopped working once I upgraded to the Dawn 15.0.0 version, it's a solid block. 

 

This is what it looks like currently.

 

banner_dawn.PNG

 

Please advise.

 

Thank you

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2305 835 907

This is an accepted solution.

Hi @GACSTOP, If you leave the opacity attribute it will affect your text in the banner and fade out as well.

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 9 (9)

BSSCommerce-HDL
Shopify Partner
2305 835 907

HI @GACSTOP

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.banner__box.content-container {
    background-color: #00000000 !important;
}
</style>

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

GACSTOP
Excursionist
27 1 13

Thank you for your input. Not a coding person here, I meant not 100% transparent, I want transparency opacity adjustable.

BSSCommerce-HDL
Shopify Partner
2305 835 907

This is an accepted solution.

Hi @GACSTOP, If you leave the opacity attribute it will affect your text in the banner and fade out as well.

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

GACSTOP
Excursionist
27 1 13

Thank you. I added rgba color line with adjustable opacity, and now the container is transparent. I appreciated it.

BSS-TekLabs
Shopify Partner
2401 695 836

Hi @GACSTOP,

Here are the steps you can follow:

1, Navigate to Online Store > Themes > Edit Code.

2, Locate and open the base.css (or theme.css, custom.css) file.

3, Paste the code snippet provided below at the bottom of the file, then save your changes.

 

 

 

 

.banner__box {
    /* You can adjust this value according to your preference */
    background-color: rgba(0, 0, 0, 0.2);
}

.banner__box .banner__text {
    color: #fff;
}

 

 

 

Here is the result

BSSTekLabs_0-1722130308135.png

We hope this assists in resolving the issue.

If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSS-TekLabs
Shopify Partner
2401 695 836

- Here is the solution for you @GACSTOP 
- Please follow these steps:

step.png

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.banner--mobile-bottom .banner__box {
    background: transparent !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1722130220062.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Aubi
Tourist
6 0 0

Amazing! 
Thank you so much!

Now, how I can make all the text in white color?

Thank you!

BSSCommerce-B2B
Shopify Partner
1972 564 567

Hi @GACSTOP ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1722133230986.png

Step 2: Search for the file theme.liquid and add this script before the end of tag  </head> or </body>:

 

<style>
  .banner--mobile-bottom .banner__box {
    background: transparent !important;
  }
</style>

 

Step 3: Save and reload page.

The result will be: 

BSSCommerceB2B_1-1722133368145.png

 

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

BSSCommerce-B2B
Shopify Partner
1972 564 567

Hi @TheBrandAudit , 

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1722133582129.png

 

Step 2: Search for the file theme.liquid and add this script before the end of tag  </head> or </body>:

<style>
   .hbspt-form {
    padding-left: 30px !important;
}
</style>

In this step, you can change the value of padding-left as you want to fix the form position.

In my example, I choose : 30px.

 

Step 3: Save and reload page.

The result will be ok in both mobile and desktop view: 

#Mobile

BSSCommerceB2B_1-1722133850604.png

#desktop: 

BSSCommerceB2B_2-1722133864544.png

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now