Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #705763

    Hi Guys,
    I am new to Enfold, well fully new to WordPress for that matter. Apologies if this is a stupid question:
    Is it possible to set a widget to only show on mobile devices? If someone could point me in the right direction that would be great.
    Thanks for the excellent theme! Love it

    Cheers
    MJ

    #705765

    Hey CautiousPossum,

    Thanks for reaching out to us.

    This can be done using some custom code. You will need to set up the widget on the page you want it to show then you need CSS code to only display it on mobile.

    If you place the widget on the page now and share the link to the page, we can assist you with the code to display the widget on mobile only.

    Best regards,
    Jordan

    #705780

    Thanks for the quick response!
    The page is: http://www.ribadvisor.com/
    The widget is at the bottom of the page and is labelled “Widget to only show on Mobile”. Then 2 buttons under it.
    Thanks for your help!
    Cheers
    Matt

    #705912

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    #text-6.geodir-widget {
        display: none;
    }
    
    @media only screen and (max-width: 767px) {
    #text-6.geodir-widget {
        display: block !important;
    }
    }
    

    Best regards,
    Jordan

    #706058

    Perfect thank you!

    #706221

    Hi,

    Glad we could help!
    We really appreciate it if you rate our theme on themeforest https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Mobile Only Widget’ is closed to new replies.