Tagged: , ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #903488

    Hi,

    I use an custom widget in the layout with an menu in it.
    But the menu does not respond responsive.
    I wants to be one column
    see attachen URL

    #903781

    Hey Joepp,

    I have checked your site and it’s responsive though it’s not changing it’s width since it occupies only a little space, can you post a mockup or screenshot of what you expect it to look like on mobile devices?

    Best regards,
    Nikko

    #903861

    Hi,
    on http://dev1.joeppoulssen.nl you find an example.
    There you see an 1/4 layout element with a backgound image in it.
    In the element there is a enfold widget with a menu in it.
    When you change the screensize, the menu items are bigger than the background and 1/4 element.

    #903995

    Hi,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    .home #av_section_1 .flex_column.av_one_fourth {
        background-size: cover !important;
        background-position: top center !important;
    }

    Hope this helps :)

    Best regards,
    Nikko

    #904235

    Hi Nikko,

    This works fine for the widget on the home page. But on the sample page the same widget does not work.
    is it possible to change the .home code to something general for all menu’s or if possible making a class for it.

    Regards Joep

    #904557

    Hi,

    I would suggest adding some class name to the Custom Css Class field in the section you want to implement the code above, for example add my_section, then on Quick CSS add:

    .my_table .flex_column.av_one_fourth {
        background-size: cover !important;
        background-position: top center !important;
    }

    Best regards,
    Nikko

    #904772

    Hi Nikko,

    That didn’t do the trick, but maybe I’m doing something wrong.

    On the page in the custom css fields of the 1/4 section I add the class “menu”
    in the custom css code under the custom styling tab I added;

    .menu .flex_column.av_one_fourth {
    background-size: cover !important;
    background-position: top center !important;
    }
    also tried
    #.menu .flex_column.av_one_fourth {
    background-size: cover !important;
    background-position: top center !important;
    }

    I think this is not the correct syntax,
    Can you give me a hint?

    Regards Joep

    #905333

    Hi Joep,

    This code is wrong:

    #.menu .flex_column.av_one_fourth {
    background-size: cover !important;
    background-position: top center !important;
    }

    Please remove #, it should look like:

    .menu .flex_column.av_one_fourth {
    background-size: cover !important;
    background-position: top center !important;
    }

    Best regards,
    Nikko

    #905508

    Hi Nikko,

    I tried that but is does not work, the menu widget is bigger as the layout area.
    But it is not possible to assign the class to the menu widget.

    I put a screenshot on the server so you can see what I mean.

    Regards Joep

    #906054

    Hi,

    Thanks for the screenshot. You could try something like this to set a max width to the menu items:

    #menu-zij li {
      max-width:220px !important;
    }

    Best regards,
    Rikard

    #906235

    Hi Nikko and Rikard,
    Thanks, everything works fine now!

    Best regards,
    Joep

    #906304

    Hi,

    Glad that we could help. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Menu in widget area is not responsive’ is closed to new replies.