Site logo

Archived topic

Breadcrumbs CSS style when included by shortcode

3 replies · Started by Enrico on December 1, 2019

Viewing posts 1–4 of 4

Good afternoon, I'm having trouble setting the breadcrumbs CSS in the theme. I added it by shortcode and is not recognizing the id #breadcrumbs in the additional CSS.

Thanks!

Hi there,

Can you add the shortcode like this?
<div class="yoast-breadcrumb">[shortcode here]</div>

Then your CSS selector would be something like

.yoast-breadcrumb {
    color: #000;
    font-size: 20px;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Let me know if this helps :)

Leo, it worked thanks!

No problem :)

This archived topic is closed to new replies.