text size and colour

v6
Tourist
17 0 2

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>

Replies 2 (2)

Natasha-Saed
Shopify Partner
412 45 72

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>

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
v6
Tourist
17 0 2

hello thanks for reply, for some reason when i do this the text disappears