Personalized checkout and custom promotions with Shopify Scripts
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
hi everyone!
I appreciate your help on this.
How do I make the . become a different colour? The dot inside the black square..
I only want the . to become a different colour example green colour
This is my website link
https://theimpossiblesauces.com/
Thank you
Solved! Go to the solution
This is an accepted solution.
Replacing the custom html with the below should fix that:
You would need to add span tags around the dot. For example it would look like this:
Welcome to the I<span style="color: green;">.</span>mpossible Sauces Factory
The other (not so good?) option would be to add that section as an image instead of text.
I would add it wherever you added the existing text. Just replace what you have with the example I provided above. You may need to add it as a Custom HTML block.
If you can't get it work please include a screenshot of how you have added the existing content.
Hi sorry unable to make it work... i cannot find the existing content in the Edit Code section
I added the information through here..... pls help thank you
Give this a try:
- In the left column select Add Section > Custom Content
- Hide any of the existing blocks that are added to the Custom Content section
- In the Custom Content section click Add Block > Custom HTML
- In this block paste the below:
<div class="slideshow__slide grid__item grid--1-col slider__slide" id="Slide-template--15508447232140__slideshow-1" role="group" aria-roledescription="Slide" aria-label="1 of 1" tabindex="-1">
<div class="slideshow__media banner__media media"><img srcset="//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=375 375w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=550 550w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=750 750w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=1100 1100w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=1500 1500w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=1780 1780w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=2000 2000w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=3000 3000w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=3840 3840w,//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995 6000w" sizes="100vw" src="//cdn.shopify.com/s/files/1/0610/1991/4380/files/sauce_logo_Banner_Landscape_white.png?v=1662545995&width=1500" loading="lazy" alt="" width="6000" height="3000"></div>
<div class="slideshow__text-wrapper banner__content banner__content--top-center page-width">
<div class="slideshow__text banner__box content-container content-container--full-width-mobile color-background-2 gradient slideshow__text--center slideshow__text-mobile--center"><h2 class="banner__heading h1">Welcome to The I<span style="color: green;">.</span>mpossible Sauces Factory</h2><div class="banner__text">
<span>Ready-To-Eat | Convenient | Quality | Halal</span>
</div><div class="banner__buttons">
<a href="/collections/all" class="button button--primary">ORDER NOW</a>
</div></div>
</div>
</div>
hi
I managed to do it but i have 2 issues
1. how do align it middle?
2. for mobile view it becomes like this.. how do i fix this?
Try replacing all of the code in the custom HTML block with the below:
hi that worked great!
but i think it affected another part of the design...
the description i circled in black had a different colour background so that i can read the words.. like a bubble
i tried changing the Colour Scheme on the right side but cannot..
hope i make sense... thank you
This is an accepted solution.
Replacing the custom html with the below should fix that:
yes fixed it!
thank you so much for your help