Changing the colour of featured badge

This topic contains 18 replies, has 2 voices, and was last updated by  Arlia Hassell 5 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #499722

    Arlia Hassell
    Expired Member
    Post count: 77

    Hi there,

    Can’t seem to find where I can change the colour of the featured badge. Any help would be great thank you.

    #499738

    Guust
    Moderator
    Post count: 29970

    Have a look at
    GD > Settings > Pages > GD Archive Item page > Edit.
    You will find this element:

    [gd_post_badge key='featured' condition='is_not_empty' badge='FEATURED' bg_color='red' txt_color='#ffffff' css_class='gd-ab-top-left-angle gd-badge-shadow']

    Change the bg_color as required.

    Thanks

    #499868

    Arlia Hassell
    Expired Member
    Post count: 77

    Thank you so much for your response.
    I have changed that please see my code here that is used already,
    [gd_post_badge key=’featured’ condition=’is_not_empty’ icon_class=’fas fa-certificate’ badge=’Featured’ bg_color=’000000′ txt_color=’#ffffff’ alignment=’left’]

    But on the front end it is still displaying blue.

    #499872

    Guust
    Moderator
    Post count: 29970

    000000 is not a valid color, you will need to use #000000.
    The shortcode you give is not for the standard featured banner across the image, so if we need to review anything, please post your URL and WP admin details in a private reply so we can have a look for you.

    Thanks

    #499876

    Arlia Hassell
    Expired Member
    Post count: 77

    Ah silly me, so sorry I have fixed it now! Could you also please help me as to why my featured vendors are not showing first?

    #499877

    Guust
    Moderator
    Post count: 29970

    To show featured first in GD Listings elements, use the “sort by” option.
    To show featured first on archive pages, use the Sorting tab of the Custom Post Type.

    Thanks

    #499879

    Arlia Hassell
    Expired Member
    Post count: 77
    This reply has been marked as private.
    #499881

    Guust
    Moderator
    Post count: 29970

    If we need to review anything, please post your URL and WP admin details in a private reply so we can have a look for you.

    Where are you not seeing featured listings first? URL please?

    Thanks

    #499882

    Arlia Hassell
    Expired Member
    Post count: 77
    This reply has been marked as private.
    #499883

    Guust
    Moderator
    Post count: 29970

    Change the sort settings to descending.
    On search pages, the results are always ordered by relevance to the search.

    Thanks

    #499884

    Arlia Hassell
    Expired Member
    Post count: 77

    Ok great thanks for that, and there is no way to change the search pages to show featured first?

    #499885

    Guust
    Moderator
    Post count: 29970

    You can add a GD Listings element if you want to the search pages and only show featured listings in that, but visitors expect listings to be ordered based on their search query.

    Thanks

    #499886

    Arlia Hassell
    Expired Member
    Post count: 77

    Thank you but in our sense, we have premium vendors that would like to be featured at the top of the visitors search within the location. Is that not possible?

    #499887

    Guust
    Moderator
    Post count: 29970

    You can add a GD Listings element (widget or block or shortcode) to the top of the search page and only show featured listings in that if you like.

    #499888

    Arlia Hassell
    Expired Member
    Post count: 77

    Ok great thank you, I have applied this but it there a way to make it a slideshow view? And also is it possible to create it to only show featured vendors from the area they have searched for in this block?

Viewing 15 posts - 1 through 15 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount