- This topic has 7 replies, 4 voices, and was last updated 5 years, 1 month ago by
Leo.
-
AuthorPosts
-
October 26, 2014 at 8:39 am #41797
Anonymous
Is there a way via the CSS I could force hyperlinks in a post to bold. I know the code to make it bold but I don’t know where/what I would type
(e.g.a.sinlge-post {
font-weight: bold;
})
Many thanks for help!
October 26, 2014 at 10:28 am #41813Tom
Lead DeveloperLead DeveloperWell you can highlight your links and bold them as you create them with the editor, but if you want all links inside your pages/posts to be bold, you could use this:
.inside-article a { font-weight: bold; }
Let me know ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 26, 2014 at 10:33 am #41814Anonymous
That worked perfectly. Thanks a lot! In case you were wondering, my site is sciencesofa.co.uk
October 26, 2014 at 10:37 am #41816Tom
Lead DeveloperLead DeveloperAwesome! It looks great ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 19, 2017 at 6:34 am #320671Russell
Hi Tom,
I seek to ‘semi-bold’ most of the links throughout my site. Except for blog titles on the blog page. I am able to achieve the level of boldness I seek by suing font-weight: 500.* Since I’m using Google’s Montserrat font I’m able to achieve the ‘goldie locks’ balance I seek.
But how do I get the links within the blog post and pages to be bolden, without having the blog titles within the blog page get bolden too?
*I tested a couple of related css code found above.
and
a {
font-weight: bold;
}and
.inside-article a {
font-weight: bold;
}I understand the “a {….” code bolds all links throughout the site.
I understand the “.inside-article…” code is supposed to bold links inside pages and posts.
Both links work as presented.
But when I use the “.inside-article…” code, blog titles on the blog page get bolded too. Is there any way to have the titles of the blogs (which link to the blogs themselves) not be bolded too?
May 19, 2017 at 9:27 am #320785Leo
StaffCustomer SupportHi Russell,
Try adding this additional CSS:
h2.entry-title { font-weight: normal !important; }
Let me know if this is what you are after.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 19, 2017 at 10:36 am #320853Russell
Hi Tom,
No affect at all.
I also tried various weights: bold, bolder, lighter. even different numbers 300, 600, etc.
nothing I tried changed what’s already there.p.s. I’m using the simple css plugin, which is working great for a ‘non-coder’ like me.
May 19, 2017 at 10:41 am #320857Leo
StaffCustomer SupportCan you provide a link to the page where it’s not working? thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.