Jump to content


Photo
- - - - -

different color links in sidebar


  • Please log in to reply
3 replies to this topic

#1 scientistsofmedia

scientistsofmedia

    Advanced Member

  • Members

  • 37 posts
  • Framework Version:Developer / Business Edition
  • Country: Country Flag

Posted 07 January 2013 - 10:16 PM

is it possible to have links that appear in the sidebar be a different color than the content links?  I can see via firebug that all the links in sidebar and page content are controlled via the <a> tag

 

here is a link to my site.

Please Login or Register to see this Hidden Content

 

as you should see, I've added a soft grey background color to my sidebar widgets.  I would love to have the links in sidebar be white or black.  the content links can stay the orange color.

 

any suggestions or tips would be apprecated.



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 07 January 2013 - 11:53 PM

As you know, this code is present in your site:

Please Login or Register to see this Hidden Content

That's the orange links.

 

Now, if you have those links within a custom class, you could apply the changes to that custom class.

 

So, if your list of links was wrapped in something like <div class="myrecentposts">list of links<div>, you could apply

 

Please Login or Register to see this Hidden Content

Of course, this isn't easy with pre-defined lists. But easy as pie if you create your own.



#3 scientistsofmedia

scientistsofmedia

    Advanced Member

  • Members

  • 37 posts
  • Framework Version:Developer / Business Edition
  • Country: Country Flag

Posted 08 January 2013 - 01:17 AM

Thank you.  I will give this a shot!!



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 08 January 2013 - 05:58 AM

Great.