Skip to main content

Module class - change color of link in a module

This is from the header of chimney sweeps surrey.

<p style="text-align: right;"><span style="color: #ffffff; font-size: 18pt;">Covering Surrey, South West London & North Hampshire<br /></span> <span style="color: #ffffff; font-size: 18pt;"> <img src="/images/graphics/whitetelephone30.png" alt="whitetelephone30" width="30" height="30" />  <a href="tel:01932 227 143">01932 227 143</a> <br /></span><span style="color: #ffffff; font-size: 18pt;">family run business for ♥ over 100 years</span></p>

Make up a word for your class, in this case 'white', and add it into:

Modules / Advanced / Module Class

In Yootheme, go to settings  / CSS

and add the chanage to the style that you want:

/*module class link of phone number in header*/
.white a { 
    color: #ffffff;
}

Save and test.

  • Hits: 4