bryanz
(Bryan)
November 5, 2015, 1:40pm
1
I apologize because this is probably a super newb question but:
I am using BB Theme and I am trying to adjust the links to show a text-decoration of underlined. I thought there was a setting for this somewhere?
if no setting, can you please let me know the best way to change that in the CSS?
thank you in advance.
bencarlo
(Ben Carlo)
November 6, 2015, 3:21am
2
Hey Bryan,
If you want all links to be underlined, you can use the CSS snippet below.
.fl-builder a {
text-decoration: underline !important;
}
Ben
bryanz
(Bryan)
November 6, 2015, 7:12am
3
dang it, that’s it. I knew I was missing something… the .fl-builder and the important.
thank you sir!
bencarlo
(Ben Carlo)
November 6, 2015, 7:52am
4
Hey Bryan,
The .fl-builder
selector makes it so the style only applies to pages using BB. If you’re not using any plugins that alter font styling, you should be able to remove the important declaration(it’s not good practice to use it). It should look something like this…
.fl-builder a {
text-decoration: underline;
}
Ben
bryanz
(Bryan)
November 6, 2015, 7:53am
5
only plugin I am using that I think would alter font styling is beaver builder plugin.
bencarlo
(Ben Carlo)
November 6, 2015, 7:55am
6
Then you should be good without declaring it important. Give it a shot and let us know how it goes!
Ben
bryanz
(Bryan)
November 6, 2015, 7:56am
7
awesome. thanks again Ben
bencarlo
(Ben Carlo)
November 6, 2015, 8:12am
8
No worries at all! Have fun with BB!
Ben
troelsk
(Troels)
April 12, 2016, 7:37am
9
How would I do this without affecting the navigation menu? Thanks!
Danny
(Danny)
April 12, 2016, 2:28pm
10
Hi Troels,
I am not sure what theme you’re using. However, most now use the HTML5 nav
tag and therefore, this CSS may work.
nav li a {
text-decoration: none !important;
}
If it doesn’t can you provide a link to your site, please? So we can take a closer look.
Thanks,
Danny
troelsk
(Troels)
April 12, 2016, 9:54pm
11
Hi Danny,
I’m using the Beaver Builder theme. I’ll test your code
Edit: It worked, of course. Thank you
Danny
(Danny)
April 13, 2016, 1:41pm
12
Hi Troels,
No problem, happy to hear that resolved your issue.
Thanks,
Danny