Re: text size and colour

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>

Reply 1 (1)

zack_dev
Shopify Partner
75 14 11
<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:22px;color:black;">
example text
</h2>
<div class="banner__buttons">
<a href="" class="button button--primary">SHOP NOW</a>
</div>
</div>
</div>

 

updated code change value of 22px to any number like 32px and color with any name or hex.



- Helpful? Like or Accept solution, - Buy me Coffee


-

Contact me