+ Reply to Thread
Results 1 to 3 of 3

Thread: Css button to show in mobile view.

  1. #1
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    657

    Css button to show in mobile view.

    Hi,
    I want to add 2 buttons in a content block, how can i only show the buttons in mobile view. Im sure there must be some line of code to hide it on desktop view but show it on mobile?

    Thnx

  2. #2
    You can create a new box in Admin Panel with type html and add some html code with buttons and add class: hide and some custom unique class. For example: <div class="my_unique_custom_class hide">button</div> Then you need to open file: ftp://templates>>your_template>>css>>style.css
    find the line: @media screen and (max-width: 767px) {
    and below add new style:
    Code:
    Only registered members can view the code.
    This style will use only on mobile devices and show your button .
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Member
    Join Date
    Jan 2019
    Location
    uk
    Posts
    47
    hi how do you add buttons please give code and direction thanks

+ Reply to Thread