[Resolved] Breadcrumbs CSS style when included by shortcode

Home Forums Support [Resolved] Breadcrumbs CSS style when included by shortcode

Home Forums Support Breadcrumbs CSS style when included by shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1088076
    Enrico

    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!

    #1088087
    Leo
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #1088094
    Enrico

    Leo, it worked thanks!

    #1088109
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.