Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #988278

    Hi
    Kindly check the site in real devices. In mobile it looks fine. Attached screenshot .


    1. Screenshot_2016-11-21-22-19-59-605_com.android.chrome
    bobptz Friend
    #988296

    Hello

    I did test with a 5" screen real device and it looks ok (for this particular string).

    1) However for a 4" screen (tested through a scrren simulator, like http://whatismyscreenresolution.net, it is as I initially reported).

    2) I increased the size of the caption of the button. Now the masthead is easily corrupted even on my 5.5" smartphone.

    3) When the masthead becomes corrupted in certain browser window sizes, this is not considered to be a problem?

    The solution would be to allow the caption of the button to wrap, just as normal text, when the screen is narrow.

    I am sure I can find a way to fix it if I play with the CSS. I just thought it would be usefull for you too know.

    Pankaj Sharma Moderator
    #988391

    Hi
    You have this code in the module :

    <div class="btn-action" style="margin-bottom: 20px;">
    <p><a href="https://learn-greek-online.com/joomdev/free-lesson.html" class="btn btn-success btn-lg">Take a Free Lesson Now, addded some very long text here</a></p>
    </div>

    for the button
    replace it with

    <div class="btn-action" style="margin-bottom: 20px;">
    <p><a href="https://learn-greek-online.com/joomdev/free-lesson.html" class="btn btn-success btn-lg" style=" white-space: normal; ">Take a Free Lesson Now, addded some very long text here</a></p>
    </div>

    Added style white-space: normal; .
    It will fix the issue .

    bobptz Friend
    #988456

    It is fixed! Thank you very much.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  bobptz 8 years ago.

The topic ‘Problem with masthead’ is closed to new replies.