Forum Support

Shape 5
March 28, 2024, 12:19:20 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Would like to change link styles  (Read 1239 times)
capstone
Jr. Member
**
Offline Offline

Posts: 66



« on: June 11, 2014, 08:52:57 PM »

Hello!

I would like to have the links site-wide be underlined and a different color than the surrounding text.  Is there a straightforward way to accomplish this without having to edit each item manually?

Thanks!

Brian
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: June 16, 2014, 02:35:21 PM »

Hello,

The problem with changing "all" the links is it would affect things like the menu links, login/register links, article links, extension links etc where you may want different colors. You could do this by using a !important call such as

a {
color:#ff0000 !important;}

But I would recommend doing this on a case by case basis by using firebug to find specific links you want to change.

-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
tabennett5
Jr. Member
**
Offline Offline

Posts: 6



« Reply #2 on: January 03, 2018, 03:33:41 PM »

Is there a way to format the hyperlinks in articles to be highlighted?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: January 04, 2018, 02:14:39 PM »

With a background color I'm guessing you are saying? Yes you can do it with something like the below. Just add it to your custom.css file:

Code:
#s5_component_wrap a {
background:#fbedac;
color:#00000 !important;}
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
tabennett5
Jr. Member
**
Offline Offline

Posts: 6



« Reply #4 on: January 05, 2018, 03:58:43 PM »

Thanks for the response.  I'm not sure of the terminology, but is there a listing somewhere of the "elements" such as "#s5_component_wrap" that are available in a template and their scope?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: January 08, 2018, 12:42:03 PM »

These are just DIV ID's that we used in our framework. We haven't documented them as there really isn't a need outside of internal things. I added the ID so that only article links would get the highlighted color vs the entire site (like menu items, etc).
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.