Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3373697
Hide "Penci News Ticker" in Landscape mode?
Closed

Comments

  • reanusbig started the conversation

    Hi,
    using Elementor and modifying the "Penci News Ticker" I can hide the News Ticker on tablet and mobile but only in Portrait mode.

    How can I hide the News Ticker on tablet and mobile also in Landscape mode?

    See the attached picture.

    Attached files:  Hide on Mobile.png

  •  2,280
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    @media only screen and (orientation:portrait) and (max-width: 960px){
        .elementor-widget-penci-news-ticker {
            display: none;
        }
    }

    Regards,
    PenciDesign.



  • reanusbig replied

    Hi,

    the CSS works but leaves the padding in the mobile and tablet version of the theme.
    You have to remove the padding in the mobile and tablet version, and leave the padding ONLY in the desktop version.

    See the attached pictures.

    Attached files:  Right padding on Desktop.png
      No padding on mobile.png

  • reanusbig replied

    Is this CSS correct :

    @media only screen and (orientation:portrait) and (max-width: 960px){
        .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
            padding: 0px;
        }
    }
    

    ??

  • reanusbig replied

    No, I tested it, the padding remains in the Landscape mode.

  • reanusbig replied

    This CSS works in both Landscape and Portrait mode:

    @media only screen and (max-width: 960px){
        .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
            padding: 0px;
        }
    }
    

    Is this correct?

  •  2,280
    PenciDesign replied

    Hi,

    Yes. The code you've modified works for all devices under 960px of screen width.

    Regards,
    PenciDesign.


  • reanusbig replied

    Thank you!