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

[Credit image block] align image credit block issue #504

Open
brm-ryd opened this issue Jun 12, 2023 · 0 comments
Open

[Credit image block] align image credit block issue #504

brm-ryd opened this issue Jun 12, 2023 · 0 comments

Comments

@brm-ryd
Copy link

brm-ryd commented Jun 12, 2023

Hi,

Apologize for using english (i cant speak / write in Portuguese language) - just wondering about issue credit image block when align picture/photo its always set as Center, even in editor set as align right/left by result publish always keep in center default.
Does above issue related with below code in style.css of themes directory ?

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto; /* does this can make the position become stretch ? i think yes */
  margin-right: auto; /* does this can make the position become stretch ? i think yes */
}

.entry .entry-content .wp-block-image img {
  display: block;    /* this should be okay i believe */
}

.entry .entry-content .wp-block-image .aligncenter {
  margin: 0 auto;   /* this i dont know whether to center element only (which not affect the image or otherwise it will force the align to center) */
}

Wordpress version: 6.1.3
Jeo-theme version: 1.5.2
Newspack-theme: 1.69.2
Jeo-plugin: 2.7.6
newspack-plugin: 1.107.0
newspack-blocks: 1.20.0
newspack-image-credits: 1.0.1
newspack-media-partners: 1.0.0

Hope you can share any thoughts / advice about this, thank you for your help

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