Change view on mobile phones

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 6 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #408366

    Brian Jacobs
    Free User
    Post count: 17

    Is it possible to change the font size for the ‘popular categories’ just for mobile phones at it only displays part of the description – see attached .
    Also, the map displayed on the mobile phone isn’t of much use to anyone – not as good as using Google maps – can this be replaced with something else on a mobile display?

    Many thanks

    Brian

    #408371

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    You can find an example of how to use media@ specific CSS to target mobile here:

    https://wpgeodirectory.com/docs/common-styling-examples/#legend

    Halfway down this link you can also see additional examples in context with some explanation:

    http://www.wpbeginner.com/wp-themes/how-to-create-a-mobile-ready-responsive-wordpress-menu/

    GD provides a panel at GD > Design > Custom CSS that allows you to insert your custom CSS rules.

    https://wpgeodirectory.com/docs/customizing-your-style/

    Using that panel, GD will inject your code as high priority inline CSS. If you write some CSS and it doesn’t quite work, you can post it back here and we can take a look.

    Here is an example to place into your GD > Design > CSS to hide the category list on mobile (under 375px width)

    `
    @media all and (max-width: 375px) {
    .sd .featured-area .geodir-category-list-in {
    display: none;
    }
    }

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

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

Open Support Ticket