how do you edit html font style and color

  • 1
  • Question
  • Updated 7 years ago
  • Answered
How do you edit html font style and color

Howard
Photo of Howard

Howard

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 9 years ago

  • 1
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
I take it your trying to edit a custom peice of code?

The best thing to do is drag in a text widget - style some text - then click the little html button in the top menu.

This will show you the code Yola used to style the text - you can then copy out the code you need and apply it to the custom html.

If i have mis understood the question let us know.

Lee.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Howard,

Is the text in a Text Widget? If it is, you can use the Edit Toolbar to change the font style and color. The Edit Toolbar has the same type of options as a text editing application. You can highlight the text and then use the various icons to make changes.



If you are wanting to edit this in an HTML widget, here is a link to a tutorial that has information on how to do this and other font things using HTML: http://www.tizag.com/htmlT/font.php

Hope this helps!

Emmy
Photo of mml177

mml177

  • 25 Posts
  • 2 Reply Likes
Hi...
I'm trying to edit font color in the html widget. For some reason, it's not working. What am I doing wrong? This is the code I'm using:

text goes here
Photo of Brianna

Brianna

  • 2045 Posts
  • 92 Reply Likes
Hello!
When looking at the code you have provided, you should be able to change the color code: #660033 with the new color you would like to use. Is the above code what you are pasting into your HTML widget or did you remove the beginning and end tags to post on our forum?
Photo of mml177

mml177

  • 25 Posts
  • 2 Reply Likes
Yes, I had the tags in the code and just removed them for this post... i dont know what i'm doing wrong?
Photo of Nazlie

Nazlie

  • 1721 Posts
  • 51 Reply Likes
Hi mml177

Please make sure you are using the correct syntax. Your it should be style="code here". Also , please change font-color to color.

Hope that works for you. If it does not, please let us know and paste the code again, as it is helpful to see why it's not working.

Thank you
Nazlie
Photo of mml177

mml177

  • 25 Posts
  • 2 Reply Likes
ah ha!
i was trying to make my hyperlink text a different color. finally figured out i had to put the font information code AFTER the (a href) code, not before.... thanks so much for all your help and patience!
Photo of Nazlie

Nazlie

  • 1721 Posts
  • 51 Reply Likes
Good to hear you found your problem. Happy Sitebuilding! :)