• Resolved DarthTater

    (@darthtater)


    Hello,

    I’m giving Customizr a try. Have found a lot of good information on tweaking this theme on this forum and on PressCustomizr.com.

    I’d like to disable the slider for small devices, but haven’t found any snippets or code examples for that. My php is not good but I’ve been able to mildly modify some of the snippets to use in my child theme’s functions.php, and have the slider pretty responsive after messing around with style.css.

    My site is on desktop development, so I am unable to provide a link.

Viewing 2 replies - 1 through 2 (of 2 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hello @darthtater,

    [Moderator’s note: As it has been brought up several times now, please stop advising users to modify their theme’s style.css. As of WordPress 4.7, WordPress as a built-in CSS editor at Appearance > Customize > Additional CSS. Don’t suggest a method that might make someone lose all their changes.]

    
    @media only screen and (max-width:480px){
      .carousel {
        display: none;
      }
    }
    

    Note : All Changes you done in style.css or other file are gone when you update theme. So prefer Child Theme

    Hope this will help you.

    • This reply was modified 7 years, 7 months ago by Geoffrey Shilling. Reason: Removed recommendation
    Thread Starter DarthTater

    (@darthtater)

    Hi @addweb-solution-pvt-ltd,

    Oh dear, I thought it was clear from the context that it was the CHILD THEME’s style.css that was being modified. It did not occur to me that someone would use a child theme and then modify the parent theme’s style.css file. My apologies.

    Your suggestion worked like a charm. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘?Remove slider only from small device views’ is closed to new replies.