HTML not resizing

I’m sorry I don’t have enough recommendation to comment your question and ask for more information. To answer your question as I understand it : This is CSS related. If you only used the HTML part of your “3rd party site”, it is normal you don’t have any CSS style applied (unless it is inline … Read more

Add a default style if no Featured image is selected

You can test if the $thumb has any contents and then apply a class to the featured image block that you can use to hide the container. <?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘full’ ); ?> <div id=”post” class=”featured-image <?php echo empty($thumb) ? ‘no-featured-image-class’ : ”; ?>” style=”background-image: url(‘<?php echo $thumb[‘0′]; ?>’)”>

Replace header with large image on home page only, using Genesis child theme

Well I got it working with a different approach but a good answer that provides insight why the approach in my question didn’t work will be accepted as the answer. I put this in functions.php for the child theme: add_action( ‘genesis_before_header’, ‘bob_gray_image’, 10 ); function bob_gray_image() { if ( is_front_page() ) { echo(‘<div class=”bobgrayimage”><img src=”https://wordpress.stackexchange.com/images/robert-c-gray-banner-maskbob-sharpen.jpg”></div>’); … Read more

Implementing Scrollable Images

I was implemented it for images, which shows lists of images inside a container like pdf viewer..I just overide the css property of bloc gallery class, and adding an additional class… .image-list{ position: relative !important; padding-bottom: 140% !important; overflow: hidden !important; border: 1px solid #ddd !important; } .blocks-gallery-grid{ position: absolute; left: 0; top: 0; width: … Read more

Penscratch 2 – changing color of the main block

You can put pinkBackground in additional CSS Class, then you will have to add the following code into your Additional CSS, Dashboard > Appearance > Customize > Additional CSS. .pinkBackground { background-color: pink; } Keep in mind you should use the hex code in order to be able to set a specific color, so in … Read more