Code by Day | Explore By Weekend

How To Remove The Divi Blog Module Title Author And Category Links Tutorial by Pee Aye Creative

How To Remove The Divi Blog Module Title, Author, And Category Links

In this tutorial I will show you how to remove the links from the Divi Blog module including the title link, author link, and category link.

Add A Custom CSS Class

We are going to starty by adding a custom CSS class to the Divi Blog module. Using a custom class like this will make sure that our code only affects the module with this class, rather than affecting other Blog modules on your site.

Open the Divi Blog module settings and go to the Advanced tab and open the CSS ID & Classes toggle. From there, copy and paste or write “pa-blog-no-links” into the CSS Class input field, as shown in the the screenshot.

add custom class to Divi Blog module to remove links

Where To Add The Code Snippets

Now that you have added the custom CSS class to the module, you can proceed and choose one or more of the snippets below. Each one is labeled and you can use either one, two, or all three of them.

If you are using our free Divi child theme, place the snippet(s) into the style.css file. Otherwise, place them in your Divi>Theme Options>Custom CSS code box. If you need help, check out our complete guide on Where To Add Custom Code In Divi.

Remove The Divi Blog Module Title Link

This first snippet will disable the cursor on the title link. By default, all of the Divi Blog module titles are clickable links that take you to the individual blog posts. But for some reason if you want to disable this, just use this snippet and the users will not be able to click on them.

/*make Divi Blog module post title link unclickable*/

.pa-blog-no-links .et_pb_post .entry-title a {
	pointer-events: none;
} 

Remove The Divi Blog Module Author Link

The page this links to would show all posts by the author, but if you only have one author on your blog, then there is absolutely no reason to link your visitors to separate author archive page. So that would be one reason you may want to remove the link from the author in the Divi Blog module meta.

NOTE that if you are also wanting to remove the category, you can just use the snippet for the category as it will apply to the author as well. 

/*make Divi Blog module post meta author link unclickable*/

.pa-blog-no-links .et_pb_post .post-meta span.author.vcard a {
	pointer-events: none;
}
 

Remove The Divi Blog Module Category Link

If you simply want to showcase the blog post category without actually sending users to the category archive page, then this snippet is perfect for you. This would go great with our other tutorial about highlighting the Divi Blog module meta over the featured image.

NOTE that if you want to only hide the link on the category without affecting the author or comments count link, then you will need to add target the link more accurately. See the video to learn more about a workaround for that.

/*make Divi Blog module post meta category link unclickable*/

.pa-blog-no-links .et_pb_post .post-meta a {
	pointer-events: none;
} 

Be sure to watch the video to see all of this live and in action! Let me know in the comments if you enjoyed this!

7
Last updated Mar 2, 2021 @ 9:02 am

Please share this post!

Nelson Lee Miller (aka The Divi Teacher)

Nelson is the owner of Pee-Aye Creative Co in the beautiful state of Pennsylvania. He loves helping small businesses, exploring, building websites with Divi, and teaching others.
Divi Adventure Club Product And Course Membership by Pee Aye Creative

Become A Member!

Gain access to everything we offer!

Learn More

Leave A Response!

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Asset 7

Shop Our Divi Products

Plugins • Courses • Templates

Visit The Shop

Divi Adventure Club Product And Course Membership by Pee Aye Creative

Become A Member!

Gain access to everything we offer!

Learn More

Divi Tutorials On YouTube

Join over 5,600 others and subscribe to our helpful Divi videos!

Visit Our Channel

Recent Posts

Pin It on Pinterest

0

Your Cart