• Resolved OTT

    (@dms666)


    I can’t seem to get the CSS right to hide the Cyclone 2 sliders on small screens (i.e., smartphones). Or optionally, make it responsive on small screens to make the text and border area smaller.

    I believe it may be something like this to hide it altogther:

    @media (max-width: 300px) {
        .cycloneslider-template-default {
             display:none;
         }
    }

    To make font responsive, it may be like this:

    @media (max-width: 300px) {
        .cycloneslider-template-default .cycloneslider-caption-title{
    		font-size: 12px;
    		padding: 5px 10px 5px 10px;
        }
    	.cycloneslider-template-default .cycloneslider-caption-description{
    		font-size: 10px;
    		padding: 0 10px 5px 10px;
        }
    }

    Then the question is, where would does the CSS code go?:
    * style.css of the Cyclone 2 slider template I’m using
    * the Cyclone 2 plugin’s admin.css
    * the theme’s style.css

    Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you provide a link to your site so I can inspect further?

    Generally a Child Theme is suffice to make all modifications.

    Thread Starter OTT

    (@dms666)

    Sure, the site is below. Thank you for any help you can provide.

    https://www.ottas.ca

    Thread Starter OTT

    (@dms666)

    I figured it out. I added this code to the style.css of the slider template I’m using to hide the slider on small screens.

    @media (max-width: 400px) { 
        .cycloneslider-template-standard{
        display:none;}
    }
    • This reply was modified 8 years, 2 months ago by OTT.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cyclone 2 slider – hide or responsive text on small screens’ is closed to new replies.