How to Customize Blog Post Hover Fade Color?

How to Customize Blog Post Hover Fade Color?

verdin_verdin
Tourist
10 0 3

Hi, how can I reduce and change the color of the "fade into white on hover" effect on Blog Posts? I would love to customize this effect to suit my website's colors. Where and how can it be done?
My website - www.verdin.la

Screenshot 2024-07-17 at 10.45.26 PM.png

Replies 8 (8)

WalkYourStyle
Navigator
475 58 79

Are these the blogs you are talking about?
blog.PNG

verdin_verdin
Tourist
10 0 3

Hey, no, these ones - https://verdin.la/blogs/verdin-world

WalkYourStyle
Navigator
475 58 79

Instructions

1. Go to 'Online Store' -> Theme -> Edit Code

2. Inside the assets folder locate the file 'base.css'

3. At the end of the file paste this code

4. 

a.t4s-portfolio-thumb::before{
   opacity: 0.5 !important; /* The lower the opacity the more transparent */
}

BSSCommerce-HDL
Shopify Partner
2305 835 907

Hi @verdin_verdin

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>
  .t4s-portfolio-thumb::before {
     background: red !important;
  }
</style>

I'm leaving the default red. You can adjust the color yourself. 

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

ZestardTech
Shopify Partner
6148 1100 1477

Hi @verdin_verdin 

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

 

.t4s-portfolio-thumb::before {
background: rgba(192, 210, 143, 0.7);
}

 

ZestardTech_0-1721286340627.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
AnneLuo
Shopify Partner
1370 238 279

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag

<style>
.t4s-portfolio-thumb::before {
    background: rgba(245, 245, 220, 0.5) !important;
}
.t4s-post-text-color{
    font-size: 28px;
    font-weight: 700;
}
</style>

Result:

AnneLuo_0-1721287547617.png

 


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Sweans
Shopify Partner
429 89 129

HI @verdin_verdin ,

If you would like to change the color of the hover effect to better match, You can use some custom CSS to achieve this.

I think along with changing the color of the hover effect, increasing the text size of the hover effect also would be helpful.

You can follow these steps to do that :

Step 1 : Open a css file from the shopify backend
Shopify Backend→ Sales Channel → Online Store→Three buttons near customize button→ Edit Code

Sweans_0-1721287279540.png

 



Step 2: Add this code to one of these files: theme.css, global.css, theme.css.liquid or theme.liquid

.t4s-portfolio-thumb::before{
background-color:#f5f5dca6;
}


.t4s-portfolio-inner .t4s-post-title {
font-size: 20px;
}


If you are inserting in a .css file then you can directly insert this code, if it is the theme.liquid file make sure to add it to the bottom of the file and enclose it in a style tag as shown in the below screenshot:

Sweans_1-1721287318969.png

You result will look like this : 

Sweans_2-1721287627131.png

 



If you would like a detailed customization, please feel free to contact us and set up a quick call to discuss the changes you would like to indroduct.
I hope this helps! If it does, please like it and mark it as a solution!

Regards,
Sweans

 



- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Dan-From-Ryviu
Shopify Partner
12031 2353 2530

Hi @verdin_verdin 

You can customize it by changing background color code in this code below, and then add it to Custom CSS in Online Store > Themes > Customize > Theme settings.

.template-blog .t4s-portfolio-thumb::before {
    background: rgba(246, 246, 246, .9);
}

 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.