Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] style some links differently...


  #1  
Old Jul 31, 2010, 10:15 PM
Jeff G
 
39 posts · Mar 2010
Hello all,

I'm trying to style some of the links on one particular page differently than all other links. No matter what I add to the css, though, I can see it being overridden by this:

a:link, a:visited, a:active {
color:#FFFFFF;
font-weight:bold;
text-decoration:none;

Which must be automatically generated by Atahualpa, since I entered this in the ATO--> "Body, Text, Links"

In this case, I want make the font-weight:normal. What can I do??

What can I do to just style a few links without affecting all of them?


Using
WP Version 3.0
Atahualpa 3.5.1

Thanks for any help!

--jeff
  #2  
Old Aug 1, 2010, 06:37 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You have to use a unique selector for those links. I use the Firebug extension with Firefox for that purpose. If you post a URL I can perhaps suggest something.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Aug 1, 2010, 06:32 PM
Jeff G
 
39 posts · Mar 2010
Thanks for your response. This is my site:

http://www.fuzzpodmusic.dreamhosters.com/bio/


Which I'm trying to make imitate this site:
http://web.me.com/fuzzpodmusic/Site/Bio.html

See the list of links toward the bottom of the left column? I can't get those styles to change without affecting all links in the site.
  #4  
Old Aug 1, 2010, 06:42 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Try this
HTML Code:
.graphic_textbox_layout_style_default li {text-decoration:underline;}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Aug 1, 2010, 11:20 PM
Jeff G
 
39 posts · Mar 2010
I inserted that bit of code into the css and that didn't do it. Thanks for trying, though.
  #6  
Old Aug 2, 2010, 04:28 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Did you put it in ATO>Add HTML/CSS Inserts>CSS Inserts?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Aug 5, 2010, 08:34 PM
Jeff G
 
39 posts · Mar 2010
I did put it in the css inserts field. The underline works, but because it's affecting the li tag, it also underlines the bullet, which looks bad. (check links above)

Weirdly, when I look in firebug, it seems as if even the underline is crossed out, even though it's obviously functioning.

Key thing is to NOT affect other links in the site. I tried just making a new class to apply only here, but they're always overridden by this:
a:link, a:visited, a:active {
color:#FFFFFF;
font-weight:bold;
text-decoration:none;

which must be coming from my ATO settings.

Gaaaaaaaaaaaaaaa!

Thanks for your help...

--jeff
  #8  
Old Aug 5, 2010, 09:12 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How about this selector instead of the li one?
HTML Code:
.graphic_textbox_layout_style_default a {text-decoration:underline;}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Aug 7, 2010, 09:30 AM
Jeff G
 
39 posts · Mar 2010
Bamn. That did it. Thanks!!!!

I wish I understood what it is that's happening here. Is this class:

.graphic_textbox_layout_style_default

something that Atahualpa generates or did you find it in my horribly messy css?
(I copied the css from the site I'm imitating, including a bunch of unnecessary crap probably generated by Dreamweaver or somesuch.)

In any case, I really appreciate your time and efforts.
--j
  #10  
Old Aug 7, 2010, 09:48 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
That is not something generatred by atahualpa. But it is working so that is the important thing.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Style differently the active (just clicked) link in Categories and other widgets ymf Sidebars & Widgets 2 Mar 3, 2010 02:58 PM
[SOLVED] How to style the Previous/Next Navigation links Fux Header configuration & styling 6 Aug 16, 2009 08:41 AM
[SOLVED] Style one image differently to others chair Atahualpa 3 Wordpress theme 2 Jul 27, 2009 02:19 AM
Making visited links format differently from unvisited links mgmoore Atahualpa 3 Wordpress theme 0 Jul 25, 2009 08:07 PM
Style widget content differently to bulleted text perdox808 Header configuration & styling 1 Apr 11, 2009 06:03 PM


All times are GMT -6. The time now is 03:13 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.