• Resolved thelpi

    (@thelpi)


    I created a custom single listing page and used the suggested shortcodes to set up the layout.

    There is an error in the [directorist_listing_contact_information] shortcode

    The social media icons just show the coloured squares and not the logos. The built-in single listing page shows icons as expected.

    I see the issue is down to a typo in the code.

    This is the code in the built-in page (which works)
    <span class=”fab fa-facebook”>

    This is the code from a custom single listing page using the shortcode
    <span class=”fa fa-facebook”>

    Notice the “b” is missing. If I hack this back in using Chrome dev tools, the icon displays.

    Using Directorist 6.5.7 and latest WP

    Can this be fixed?

    • This topic was modified 4 years, 2 months ago by thelpi.
Viewing 1 replies (of 1 total)
  • Plugin Support Rafiz Sejim

    (@rafizsejim)

    Hello,

    We are sorry for the trouble that Directorist may have caused.

    Please add the following CSS in Appearance > Customize > Additional CSS and let us know if that doesn’t work.

    .atbd_director_social_wrap .fa {
            font: normal normal 900 14px/1 "Font Awesome 5 Brands" !important;
    }
    
    .atbd_director_social_wrap .fa-youtube-play {
            font: normal normal normal 14px/1 FontAwesome !important;
    }

    Also sharing your site link would also help us to provide you a precise solution.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode error on single page listing’ is closed to new replies.