Re: Mobile display of theme

  • Author
    Posts
  • #82144

    Hello, last questions: regarding the mobile display of Nexus:

    –Possible to add the subscribe by email widget button to the mobile view? (I’m new to WordPress, don’t know if widgets can appear on mobile)

    –Possible to make just photos fill the width of the screen on mobile? (If not possible to affect only photos, and it’s possible to adjust margins for overall post on mobile, how do I do that?)

    THANKS!

    The blog I need help with is sevenmilesblog.com.

    #82274

    yuriyportnykh
    Theme Author

    Hi.

    –Possible to add the subscribe by email widget button to the mobile view? (I’m new to WordPress, don’t know if widgets can appear on mobile)

    I think this code would work for you:

    @media screen and (max-width: 1023px) {
        #sidebar { display: block; }
        #sidebar .widget { display: none; }
        #sidebar .widget.widget_blog_subscription { display: block; }
    }

    –Possible to make just photos fill the width of the screen on mobile? (If not possible to affect only photos, and it’s possible to adjust margins for overall post on mobile, how do I do that?)

    You can add the following code and play with these settings to see if that works for you:

    @media screen and (max-width: 479px) {
        body.single #main-content {
            width: 239px;
    	margin-left: 40px;
        }
    }

The topic ‘Re: Mobile display of theme’ is closed to new replies.