Subscribe On YouTube

Join other subscribers and enjoy other Divi video tutorials!

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

Nelson Miller Profile Orange
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.

▶️ Please watch the video above to get all the exciting details! 👆

Add A Custom CSS Class

We are going to start 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 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.

Where To Paste The CSS Code

1. Divi Assistant
If you are using our Divi Assistant plugin, simply paste the code in the CSS tab in the custom code window in the Divi Visual Builder.

2. Child Theme
If you are using a child theme, paste this code into the style.css file. If you don't have a child theme, you can generate a child theme directly on your site or download our free child theme.

3. Divi Theme Options Integration
Otherwise, paste this code in your Divi>Theme Options>Custom CSS code box.

If you need help understanding where to paste the code, please check out our complete guide about 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 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 a 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!

Categories: Divi CSS Tutorials

Subscribe For More Things Like This!

At the start of each month, we send out a recap newsletter from the month before with family news, Divi news, our latest tutorials, and product news. Occasionally, if the news is too exciting to wait, we will send out another email separate from the monthly newsletter. That’s what you get when you subscribe, and of course you can unsubscribe if you are no longer interested!

Blog Post Optin
Divi Logo (2)

Shop Our Divi Products

Plugins • Courses • Templates

Visit The Shop

Featured Products

Asset 4

New! Trail Guides

Follow a series of blog posts carefully arranged around a specific topic or goal! Keep track of your progress by marking posts completed, just like a free course!

View Trial Guides

Divi Trail Committee Membership badge with map design

Join The Trail Committee!

Show support for our ongoing work creating community resources at Pee-Aye Creative and enjoy exclusive member perks in return.

Learn More

Divi Tutorials On YouTube

Our videos have views! Join subscribers and enjoy over video tutorials!

Visit Our Channel

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

9 Comments

Comments By Members

These comments are highlighted because they were posted by fans who have a membership on this site.

  1. Jelle Buelens <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

    What is the code to also remove the author link from the post title module on the specific blog post?

    Reply
    • Nelson Lee Miller (aka The Divi Teacher) <span class="comment-author-role-label author-label">Author</span>

      Hi Jelle,
      We don’t know as that’s a different module, but most likely you can jus disable the author from that module. If not, just don’t use that module, use Text modules instead since the Post Title module is redundant.

      Reply

Comments By Others

  1. Francesca Rich

    I am trying to utilize the Divi Blog for my documents, right now the module shows the Author as the WordPress author as opposed to the Document Author. Is there a way to replace the Author data with the Document Author data?

    Reply
    • Nelson Lee Miller (aka The Divi Teacher) <span class="comment-author-role-label author-label">Author</span>

      Hi Francesca,
      What you described is normal, as WordPress works with the author of posts, and so Divi shows that. It sounds like you have something customer, so for that it will take customization of the code of the Blog module from a developer.

      Reply
  2. Carlos

    Is there a way to make this work in the Theme Builder also? In the Post Title area of the builder?

    It works in the Blog Module just doesn’t in the theme builder. Thanks!

    Reply
    • Hemant Gaba <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

      Hi Carlos!

      It should work fine in the theme builder template as well. Please check in the browser inspector and see if the code is implemented

      Reply
      • Hemant Gaba <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

        Sorry, I did not get the URL of the page in the last comment. Can you please add it again?

      • Carlos

        Hi Hemant, here’s a sample of what I’m talking about. It’s not clickable in the Recent Posts area but it’s still clickable below the Blog title.

        Thank you!

  3. Pedro Martin

    Hi Nelson,

    I first time meet your website and it is great!

    Many users with motor disabilities can not use the mouse only the keyboard also blind people that use Screen Readers do not use the mouse. They only use the keyboards.

    When they use the TAB key do not need redundant access twice to same link. They only should access to the post through one link, either Picture or the tittle.

    Our website in keyboard accessible but I need avoid the access to the Post Tittle with the key TAB.

    Thanks

    Martin

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent Posts

0

Your Cart