Home Forums Archived Forums Mobile View Hiding footer for mobile devices

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17665
    zenite
    Participant

    Is there a way to hide the footer area just for mobile devices?
    I did not find this option in Weaver (using Pro version 2.1.12).

    Thanks!

    #21559
    scrambler
    Moderator

    No but you can do that with Custom CSS.

    Add the rule below in Advanced option > HEad Section > Custom CSS Rule box

    @media only screen and (max-width:640px) {
    #colophon {display:none;}
    }

    #21560
    zenite
    Participant

    Thank you!

    Reading other posts in this forum I discovered these shortcodes:
    [weaver_show_if_mobile type=’mobile’]
    …[/weaver_show_if_mobile] and
    [weaver_hide_if_mobile type=’mobile’]…
    [/weaver_hide_if_mobile]

    I think they will serve too, right?

    #21561
    scrambler
    Moderator

    These are useful if you want to insert content that should only be seen on mobile or desktop, they cannot do anything for the standard section of the theme like the footer.

    But if you wanted to add content in a widget inside the footer widget are, you can use this to decide when the content shows.

    #21562
    zenite
    Participant

    Thank you, again!

    About this shortcode [weaver_hide_if_mobile type=’mobile’]
    There is an if condition on it (if_mobile type=). How it works?
    Can I modified to match a specific device (‘tablet’, ‘smart phone’ or general ‘mobile’ devices)?

    #21563
    scrambler
    Moderator

    No you cant change it.

    This is what is called a shortcode, basically a macro written by weaver. the name of the shortcode is just that, a name that calls a small program.

    If you change the name, it wont match or do anything

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘ Mobile View’ is closed to new topics and replies.