Jump to content


Photo

Changing the text color of a team name.


10 replies to this topic

#1 TonyL1

TonyL1

    Veteran

  • Members
  • PipPipPip
  • 44 posts
  • Gender:Male

Posted 14 August 2019 - 06:34 PM

Hi All,

 

Any assistance is appreciated.

 

Thank you!

 

Tony



#2 DA-G-GURU

DA-G-GURU

    Veteran

  • Members
  • PipPipPip
  • 1,158 posts
  • Gender:Male
  • Location:DAGrafixDesigns.com

Posted 15 August 2019 - 06:51 PM

Replace gold with white or red or blue or html hex color #ffffff if you want to get right to the color hue.

<bold><font color="gold">Steeltown </font></bold>
 

Simply The Best in Grafix and CSS webdesign since 2005

www.dagrafixdesigns.com

---------------
Twitter @DA_Sticks

#3 TonyL1

TonyL1

    Veteran

  • Members
  • PipPipPip
  • 44 posts
  • Gender:Male

Posted 15 August 2019 - 07:10 PM

Great. Where do I access the script box, window, page, etc.?

 

Thank you!



#4 DA-G-GURU

DA-G-GURU

    Veteran

  • Members
  • PipPipPip
  • 1,158 posts
  • Gender:Male
  • Location:DAGrafixDesigns.com

Posted 15 August 2019 - 07:41 PM

In your franchise setup where your team name is.... just paste the code... make sure your name goes where the steel town is in the example
Simply The Best in Grafix and CSS webdesign since 2005

www.dagrafixdesigns.com

---------------
Twitter @DA_Sticks

#5 TonyL1

TonyL1

    Veteran

  • Members
  • PipPipPip
  • 44 posts
  • Gender:Male

Posted 15 August 2019 - 09:15 PM

I will give it a shot...Thanks!



#6 TonyL1

TonyL1

    Veteran

  • Members
  • PipPipPip
  • 44 posts
  • Gender:Male

Posted 16 August 2019 - 05:48 AM

It didn't work. Here is what I got when I tried: Field 'csetup' 'FRANCHISE_NAME0001': No HTML Allowed!



#7 TonyL1

TonyL1

    Veteran

  • Members
  • PipPipPip
  • 44 posts
  • Gender:Male

Posted 16 August 2019 - 06:15 AM

This did work: <b><font color= Red>Team Name

 

Thanks again!



#8 bonscott

bonscott

    Veteran

  • Members
  • PipPipPip
  • 7,848 posts
  • Gender:Male

Posted 16 August 2019 - 06:18 AM

Highly...*highly* recommend to not do this.  Putting code in the franchise name field can cause all kinds of issues with various reports.  I have banned it from everyone in my leagues.  Looks like MFL tried to ban it as well but a bit of code got thru anyway.

 

Bottom line, tell your owners no, can't be done.  You'll thank me later.  :)



 


#9 DA-G-GURU

DA-G-GURU

    Veteran

  • Members
  • PipPipPip
  • 1,158 posts
  • Gender:Male
  • Location:DAGrafixDesigns.com

Posted 16 August 2019 - 10:41 AM

I agree with Bonscott 100%, I dont recommend it either as i have spend hours trouble shooting a site only to find the root of the issue was custom HTML code for a team name.

 

What i would instead is add css to change the color and bold of the text for your team or all teams if they want it. Here is a sniplet of css code for franchise 0001, you would add franchises to that code and colors.

 

 

.franchise_0001, a.franchise_0001, a.franchise_0001:link, a.franchise_0001:visited, a.franchise_0001:hover, a.franchise_0001:active {
    color:#ff0000;
    font-weight:bold;
    text-decoration:none;
    text-transform:uppercase;
}
 

Simply The Best in Grafix and CSS webdesign since 2005

www.dagrafixdesigns.com

---------------
Twitter @DA_Sticks

#10 TonyL1

TonyL1

    Veteran

  • Members
  • PipPipPip
  • 44 posts
  • Gender:Male

Posted 16 August 2019 - 06:27 PM

I appreciate all of the feedback. Another owner in a league that I don't run but that I am in has done this for years now and I decided to do it this season. I am not aware of any issues that have come up but will keep this in mind, Not being a developer, where would I add css?

 

Thanks again!



#11 BobA

BobA

    Veteran

  • Members
  • PipPipPip
  • 768 posts
  • Gender:Male
  • Location:Houston, Texas

  • 2019 MFL: 44355

Posted 16 August 2019 - 10:32 PM

I appreciate all of the feedback. Another owner in a league that I don't run but that I am in has done this for years now and I decided to do it this season. I am not aware of any issues that have come up but will keep this in mind, Not being a developer, where would I add css?

 

Thanks again!

 

Use a text editor, Notepad is fine or it's equivalent. Copy & Paste or type the code and save as a .css file. I redo mine every year so i use 2019css.css or something like that. Then upload that file via

 

For Commissioner-->Setup-->Images and Other URLs-->League Cascading Style Sheet (CSS) File:    

 

it'll upload and you're done. You may need to refresh the site on your computer with a cntrl-F5


2019 League Site

 

The Ed Hughes Football League, Since 1980
2019...Our 40th Season!! 


----------
"Yes, well, everybody in Casablanca has problems. Yours may work out." -Rick Blaine




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users