Popular Categories – number showing before category

This topic contains 4 replies, has 3 voices, and was last updated by  Rick 9 years, 5 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #23454

    Rick
    Full Member
    Post count: 2

    http://indianradio.net.au/indiantimes.com.au/business-directory/

    In my popular categories, the total number is showing up before the category leaving the () empty as show in link above. Can anyone assist in fixing this. Thanks.

    #23485

    Guust
    Moderator
    Post count: 29970

    Can you turn off your CSS minifier from your theme.
    That is breaking the GD CSS.

    #23510

    Rick
    Full Member
    Post count: 2

    Thanks Guust, I have disabled all CSS plugins, and is still conflicting. I have narrowed it down to a conflict here in td-bootstrap.css

    media=”all”
    [class*=”span”] {
    float: left; <—————-
    min-height: 1px;
    margin-left: 30px; <—————-
    }

    If I edit this CSS in Chrome Developer Tools, it fixes the problem but alters the whole website layout. From here I am not sure what to do.

    #23527

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    whenever the theme adds some conflicting css, the easiest way to fix isn’t to remove the conflicting css, but to add targeted css to the GD element to go back in place and ignore the theme css.

    That theme is adding float left and a left margin to all spans indiscriminately (crazy IMHO).

    We can tell him not to only for our span like this:

    
    
    .geodir-pcat-show span {
        float: none;
        margin: 0;
    }

    This should do it.

    Thx

    #23573

    Rick
    Full Member
    Post count: 2

    Perfect, thank you Paolo.

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

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

Open Support Ticket