Archived topic
Images in content full width - No margins - CSS?
8 replies · Started by Anders on September 9, 2019
Hi,
Is there a better way then specify the image id like this to do this site-wide?
.wp-image-93, .wp-image-92 {
margin-left: -20px!important;
margin-right: -60px!important;
}
Thanks for your input .. =)
Hi there,
Hmm you could try targetting all the aligncenter images like this:
img.aligncenter {
margin-left: -20px;
margin-right: -60px;
}
Might want to wrap in desktop only media query @media (min-width: 769px) {
Hope this helps :)
Hi Leo,
Did not work at all .. Well, guess I just have to specify it as before.
Thanks anyway.
I am just trying to "full-size" the images in the post as the attached image is .. =)
No problem :)
Closing topic, since I can not open new before this is closed, wierd .. =)
That's the new rule we've added to prevent people from opening multiple topics in a short amount of time.
Not fair for other users.
Thanks for your understanding :)
Yes, I understand.
Mine/this was from september last year, might wanna think about an automatic closing mechanism for say 3 month old posts then .. =)
.
We can't really close a topic before the user let us know the issue is resolved.
Are you talking about this one here?
https://generatepress.com/forums/topic/change-menu-background-color-when-a-user-is-logged-in/#post-898356
Looks like you never provide the update. I'll make it as resolved now :)