Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #717823

    Hi,

    ist es möglich die eine Widget Area in das mobile Menü zu bringen. Ich benötige dies, um die WPML Sprachumschalter dort anzuzeigen

    Danke Christoph

    Hi,

    i’m looking for a possibility to add a widget area only in the mobile menu. There i will show the WPML language switch.

    Cheers

    Christoph

    #718839

    Hey Christoph,

    To show the header widget area only in mobile

    1. Please add a widget area to the header http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
    2. Drag and drop a text field into the Header widget area in Appearance > Widget > Header
    3. Inside the text area add your content with in a div and a class name “only_mobile”.

    <div class="only_mobile" > Header widget </div>

    4. add the below css in quick CSS

    /*Show only in mobile or desktop*/
    
    @media only screen and (min-width: 769px) {
    .only_mobile { display: none !important; }}
    
    @media only screen and (max-width: 768px) {
    .only_desktop { display: none !important; }}

    Best regards,
    Vinay

    • This reply was modified 7 years, 11 months ago by Vinay.
    #720475

    Hi,

    works fine. Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Widget area im mobilen Menü’ is closed to new replies.