category icon – home page

This topic contains 10 replies, has 3 voices, and was last updated by  Leigh 5 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #437197

    Leigh
    Expired Member
    Post count: 105

    Hello, saw this post in forums from 2016 for increasing size of category icon on home page only – see screenshot… I think some code is missing and hoped someone could send me the whole bit?
    Plus I wondered if there was code to hide category description under the icon for the same section – see in 2nd screenshot.
    Thanks

    #437202

    Kor
    Moderator
    Post count: 16516

    Hi Leigh,

    Insert the custom CSS code below into GD > Design > Scripts > Custom Style CSS

    
    
    .sd-homepage.sd.home .featured-area .geodir-pcat-show img{
        min-height: 150px !important;   
    }
    
    .sd-homepage.sd.home .featured-area .geodir-pcat-show {
        width: 40%!important;
    }
    #437216

    Leigh
    Expired Member
    Post count: 105

    You’re awesome Kor, thank you xxx

    #437314

    Leigh
    Expired Member
    Post count: 105

    Thanks for the code.
    What should the size of marker icons be?
    I have situation where I adjust icon size to suit maps then ‘popular categories’ icon (same image) loses resolution… I make bigger for ‘popular categories’ and map icon is too large…
    Can I delete ‘popular categories’ from the search section?
    I’ve deleted widgets, but ‘popular categories’ stays on the search image.
    Also how do I remove the description from the icon? I saw a forum answer but its not referring to V2.

    #437332

    Kor
    Moderator
    Post count: 16516

    Hi Leigh,

    Thanks for your reply. You can use the custom CSS code below to remove the “Popular Categories” below the search form.

    
    
    .sd-homepage .geodir-cat-list {
        display:none!important
    }
    #437396

    Leigh
    Expired Member
    Post count: 105

    Thanks so much that worked.
    Now can I do that on listings?
    – remove category description (screenshot)
    – remove reviews(screenshot)
    – remove write a review(screenshot)
    Thanks for your help.

    #437500

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #437508

    Leigh
    Expired Member
    Post count: 105

    Thanks so much – you are brilliant!
    hoping I haven’t worn down my amount of Q’s but can I ask another one 😉
    – On the side of listings can I have category icons and not description? See in screenshot 1 this is words?
    – It would be awesome too if the side of listings was the large square icons I have in category description as in screenshot 2, not the icons? As it makes more impact and they are larger size to category map marker (screenshot 3)
    I’m trying to maximise the association with the Global goals 🙂

    #437514

    Leigh
    Expired Member
    Post count: 105

    BTW – I’m editing 3 sites – so log in changes.
    Starting new on Social Impact site then 2 others are changing over to GD from other directory software x

    #437523

    Alex Rollin
    Moderator
    Post count: 27815

    – On the side of listings can I have category icons and not description? See in screenshot 1 this is words?

    – It would be awesome too if the side of listings was the large square icons I have in category description as in screenshot 2, not the icons? As it makes more impact and they are larger size to category map marker (screenshot 3)

    There are no options or settings to achieve this, so this is a customization you would have to undertake yourself because it is outside of what we can help with in support.

    Thre s an example PHP snippet that could be a start for you or your developer to create this feature.

    Search for : Change category icons on the detail page
    On this page:
    https://wpgeodirectory.com/docs/faqs/detail-page/

    If you need to find a developer we have a site where GD Experts can be contacted about specific projects. http://geodirectoryexperts.com

    #437524

    Leigh
    Expired Member
    Post count: 105

    🙁 that’s unfortunate – thanks for getting back to me though x

Viewing 11 posts - 1 through 11 (of 11 total)

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

Open Support Ticket