• babiskalogirou

    (@babiskalogirou)


    Hello dear friends! Thank you very much for the lovely plugin!

    I would like to know if there is a way to display an icon (fa fa-home, for example) instead of the home page url.

    Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    Normally, the easiest way of adding an icon to the breadcrumb trail is to add an img tag to the home breadcrumb templates. You could also do this with CSS (using CSS sprite concepts).

    Specifically for font awesome, they recommend using <i class="fa fa-home" aria-hidden="true"></i>, however, the i tag is not allowed in the Breadcrumb templates. So, within your home templates, you want to remove the %htitle% and for the span that contained it, add the class="fa fa-home" and the aria-hidden="true" attribute to the span opening tag. Note, this will mess up the Schema.org BreadcrumbList markup and will require you to add <meta property="name" content="Home"> to the template (or remove all of the schema.org BreadcrumbList portions).

Viewing 1 replies (of 1 total)
  • The topic ‘Icon for home page’ is closed to new replies.