Shopify themes, liquid, logos, and UX
hello i am using this code, i am wondering how i can change the size and colour of the text 'example text'
<div class="vid-wrap">
<video autoplay loop playsinline muted>
<source src="https://cdn.shopify.com/videos/c/o/v/25c2e7a7a2f24d9c8c2032984b482594.mp4">
</video>
<div class="content-wrap">
<h2 class="banner__heading h1">
example text
</h2>
<div class="banner__buttons">
<a href="" class="button button--primary">SHOP NOW</a>
</div>
</div>
</div>
Hi,
Just modify the style directly in the html as below, change the size and the color to your desired value
<div class="vid-wrap">
<video autoplay loop playsinline muted>
<source src="https://cdn.shopify.com/videos/c/o/v/25c2e7a7a2f24d9c8c2032984b482594.mp4">
</video>
<div class="content-wrap">
<h2 class="banner__heading h1" style="font-size: 30px; color: red;>
example text
</h2>
<div class="banner__buttons">
<a href="" class="button button--primary">SHOP NOW</a>
</div>
</div>
</div>
hello thanks for reply, for some reason when i do this the text disappears
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025