Reply To: image alignment not working with custom post type

Home Forums Support image alignment not working with custom post type Reply To: image alignment not working with custom post type

Home Forums Support image alignment not working with custom post type Reply To: image alignment not working with custom post type

#244893
John

I don’t have the @import in the child style sheet but I do have this code in my child function.php file. I suspect it is causing the same problem.
`function my_theme_enqueue_styles() {

$parent_style = ‘parent-style’; // This is ‘generatepress-style’ for the GeneratePress theme.

wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );’
I put this in there when I was first learning how to create child-themes. I read somewhere it was a good idea.