Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image alignment for mobile devices #30

Open
emos321 opened this issue Jan 5, 2021 · 0 comments
Open

Image alignment for mobile devices #30

emos321 opened this issue Jan 5, 2021 · 0 comments

Comments

@emos321
Copy link

emos321 commented Jan 5, 2021

Hello

If we set image "Image size" to eg thumbnail-150x150 and "Image alignment" to left, the desktop view is correct.

.wp-show-posts-image.wpsp-image-left {
     float: left;
     margin-right: 1.5em;
}

If we change the view to mobile image changes float to none.

.wp-show-posts-image.wpsp-image-left, .wp-show-posts-image.wpsp-image-right {
     float: none;
     margin-right: 0;
     margin-left: 0;
}

An example in the right sidebar at https://gpsites.co/dispatch/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant