InfoAmazonia / jeo-theme

GNU General Public License v3.0
2 stars 0 forks source link

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

Open brm-ryd opened 1 year ago

brm-ryd commented 1 year ago

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