CSS styling different layouts

This topic contains 3 replies, has 2 voices, and was last updated by  Kor 4 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #523085

    Sudell Sudell
    Expired Member
    Post count: 34

    Hello,

    I’m trying to style the “favourite” link on the archive item based on the layout selected ie. grid 1, grid 2, list view.

    What CSS would I need to implement to style the “favourite” link on grid 2 view and grid 3 etc…

    #523089

    Kor
    Moderator
    Post count: 16516

    Hi Sudell,

    Thanks for your post. Could you share your Website URL here in question so that I could check this out for you?

    #523097

    Sudell Sudell
    Expired Member
    Post count: 34

    Hi it’s
    https://guttercleaners.directory

    If you click on “view all” you should be able to see

    #523105

    Kor
    Moderator
    Post count: 16516

    Hi Sudell,

    Thanks for your reply. You can use this custom CSS code below.

    /*Grid 2 */
    .geodir-gridview.gridview_onehalf .geodir-addtofav-icon{
        color:#000;
    }
    
    /*Grid 3 */
    .geodir-gridview.gridview_onethird .geodir-addtofav-icon{
        color:#000;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

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

Open Support Ticket