Jump to content
Sign in to follow this  
Keith Vaugh

Font size in text widget - HTML code

Recommended Posts

Keith Vaugh

Hi All placing some HTML inside the text widget. I want to change the font size in this only, but can't seem to achieve it. Have tried adding

<font size='px'>
around the text area but have had no success (i.e. tried various sizes) Here the code I am adding (I have replace the < & > with ( & ) so that all the coding will appear)
(a href='http://www.belmonthousestud.com')(center)(img src='http://10.0.1.14:8888/belmonthousestud/wp-content/uploads/logos/belmont_white.png')(/center)(/a)
	(span style='color:white')(center)?© BELMONT HOUSE STUD(/center)(/span)
	(center)other text(/center)

Any assistance would be great Thanks in advance

Share this post


Link to post
Share on other sites
catrina
<font size='px'>
^ This code should be
<font style="font-size: #px;">
(a href='http://www.belmonthousestud.com')(center)(img src='http://10.0.1.14:8888/belmonthousestud/wp-content/uploads/logos/belmont_white.png')(/center)(/a)
^ This code should be `
belmont_white.png
` (I'm using backticks instead of the code tag so that it shows up correctly) The centered tags need to be at the very beginning and end of the code.
(span style='color:white')(center)?© BELMONT HOUSE STUD(/center)(/span)
^ You can shorten this code by adding this instead:
<span style="text-align: center; color: white;">?© BELMONT HOUSE</span>


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Keith Vaugh

Thank you Catrina for your assistance. I've tried

<font style="font-size: #px;">

but it has not affect the font size. Have I missed something?

Share this post


Link to post
Share on other sites
ricardo

Yes, the font tag is deprecated. You need to add the CSS alternative to the enclosing element, so if it's the copyright text, it should be:

<span style="text-align: center; color: #fff; font-size: 20px;">?© BELMONT HOUSE</span>

Ricardo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×