Community Forums › Forums › Archived Forums › Design Tips and Tricks › Styling Help
Tagged: css
- This topic has 20 replies, 3 voices, and was last updated 9 years, 10 months ago by
Jesse.
-
AuthorPosts
-
November 13, 2014 at 1:56 pm #131453
Jesse
MemberHello,
I'm using the Enterprise Pro child theme. I'm hoping someone can help me code for my hyperlinks to be underlined until I hover. Just for hyperlinks in posts and pages and not post titles.
Also, I'm looking to have the same styling for my collapse o matic plugin text. Here is what I've tried so far but it doesn't work...
.s4 {
font-color: #31b2ed;
font-size:18px;
text-decoration: underline;
}With this in my post where I want the text to be hidden...
[expand title="test" trigclass="s4"]
You can see the plugin in action toward the bottom of this post...
http://ultimatehealthpodcast.com/welcome/
Thank you!
http://ultimatehealthpodcast.com
JesseNovember 13, 2014 at 10:36 pm #131486Davinder Singh Kainth
MemberFor underlined links in posts and pages, add following code to style.css file before media queries section.
.content a { text-decoration: underline; } .content a:hover { text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 13, 2014 at 10:38 pm #131487Davinder Singh Kainth
MemberYour collapse o matic text "test" is already underlined. Do you want to remove underline when expanding or hovering over it?
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 14, 2014 at 8:41 am #131498Jesse
MemberThanks so much Davinder!
I'm looking to have the collapse o matic text the same colour and style as other hyper links... blue and underlined until hovered. The plugin has a spot for css. You can see above the code I tried using for the plugin above.
As for the posts and pages... I'm not sure what you mean by before the media queries section. Please help out a rookie 😉
Thanks,
JesseNovember 14, 2014 at 9:16 am #131503paulag01
MemberBefore the media queries means -- at the bottom of your CSS file you will see a section that starts
/*
Media Queries
---------------------------------------------------------------------------------------------------- */Put the code before there.
November 14, 2014 at 9:52 am #131514Jesse
MemberThanks Paula that worked great but how can I set it so the blog post titles are left untouched (not underlined)?
November 16, 2014 at 7:40 am #131724Davinder Singh Kainth
MemberDo you want to have underline style for blog title like "001: Welcome To The Ultimate Health Podcast" here - http://ultimatehealthpodcast.com/welcome-ultimate-health-podcast/ ?
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 16, 2014 at 1:31 pm #131753Jesse
Memberyes Davinder those are the underlines im trying to remove and i want to leave the rest of the hyperlinks underlined 🙂
Any idea on the coding for that?
Thanks,
JesseNovember 16, 2014 at 11:32 pm #131803Davinder Singh Kainth
MemberOk, then perform following steps:
1. Remove the following from style.css file
.content a { text-decoration: underline; } .content a:hover { text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 16, 2014 at 11:33 pm #131804Davinder Singh Kainth
Member2. Look for following code
a { color: #31b2ed; text-decoration: none; } a:hover { color: #333; }
change this to...
a { color: #31b2ed; text-decoration: underline; } a:hover { color: #333; text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 17, 2014 at 6:17 pm #131919Jesse
MemberHey Davinder! Thanks for the idea but the post titles are still underlined and now the header title is underlined too. Any other ideas?
Thanks!
November 18, 2014 at 6:48 am #131977Davinder Singh Kainth
MemberOk, make following changes.
1. Look for following code
.site-title a, .site-title a:hover { color: #31b2ed; }
change this to...
.site-title a, .site-title a:hover { color: #31b2ed; text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 18, 2014 at 6:49 am #131978Davinder Singh Kainth
Member2. Look for following code
.entry-title a, .sidebar .widget-title a { color: #333; }
change this to...
.entry-title a, .sidebar .widget-title a { color: #333; text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 18, 2014 at 8:50 am #131996Jesse
MemberThanks Davinder!
Last two things with the styling...
How do I make it so hyperlinks within posts and pages stay the same colour blue instead of going black when I hover over them? The underline disappearing is perfect 🙂
The Menu titles are now underlined... How do I remove those?
I really appreciate all the help!
Cheers,
JesseNovember 19, 2014 at 1:17 am #132082Davinder Singh Kainth
Member1. For hyperlinks hover color, look for this code
a:hover { color: #333; text-decoration: none; }
change it to
a:hover { color: #31b2ed; text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 19, 2014 at 1:18 am #132083Davinder Singh Kainth
Member2. For menu items, look for following code
.nav-primary, .nav-primary a { color: #fff; }
change this to
.nav-primary, .nav-primary a { color: #fff; text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 19, 2014 at 8:27 am #132118Jesse
MemberThat worked great... thanks!
The last thing is the menu titles under my header are underlined... how can i remove the underline there? Those changed to underlined when we changed some of the code above.
Thanks again.
JesseNovember 19, 2014 at 11:20 pm #132244Davinder Singh Kainth
MemberI see you have not updated style.css file with above code.
Change this code
.nav-primary, .nav-primary a { color: #fff; }
to this code...
.nav-primary, .nav-primary a { color: #fff; text-decoration: none; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 20, 2014 at 9:36 pm #132346Jesse
MemberThanks for all the help Davinder! YOU ROCK!
November 21, 2014 at 11:54 pm #132475Davinder Singh Kainth
MemberWelcome !
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.