• Resolved Hefdut

    (@hefdut)


    Bonjour,
    WP 4.9.1
    Virtue Theme 3.1.1
    Page (see https://savour.eu/expression-animaux/ ) created with the default template with sidebar. In this page there are pictures with associated links to other pages of the same website. It works fine when using a desktop computer but does not work properly when using an Android mobile phone. In that case all the pictures appear in the search field of the sidebar and it is not possible to click on the links of these pictures.
    The alignment of each picture is “left”, which allows to display several pictures on the same row. When using alignment “center”, it solves the issue but there is only one picture per row, which is not what we want.
    Thanks in advance for your support.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey,
    This has to do with clearing floats. If you added one more item below those images that were not floated then it would clear it but you can also add a css to clear as well by going into theme options > advanced settings > custom css:

    .entry-content:after {
        content: '';
        clear: both;
        display: table;
    }

    Ben

    Thread Starter Hefdut

    (@hefdut)

    hello,
    thanks for your message.
    As suggested I have added the code in advance settings – custom css but it does not clear the issue.
    Is there anything else to change ?
    Regards

    Hey,
    Looks like you copied the css from an email notification? The css has to be copied from the forums because email will sanitize it.

    When I look at your site you have:

    .entry-content:after {
        content: & # 039; & # 039; ;
        clear: both;
        display: table;
    }

    And it should be:

    .entry-content:after {
        content: '';
        clear: both;
        display: table;
    }
    Thread Starter Hefdut

    (@hefdut)

    Sorry !
    I have just copied the correct code and it works perfectly.
    Thanks a lot for your support.
    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page with sidebar does not work properly in mobile version’ is closed to new replies.