Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Header issues

Home / Forums / Virtue Theme / Header issues

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 25, 2018 at 9:28 pm

Hi,
I’m having difficulty setting up the header the way I want it for this site.

1. My Banner image is 1542px wide. At screen sizes wider than 1542px, I want the image to be centered. I can see vertical-align: middle; on the img element but it isn’t having any effect, and the image is left-aligned.

I have added a gallery of type=carousel using the following in functions.php:

add_action('kt_after_header_content', 'my_custom_head_output');
function my_custom_head_output() {
echo do_shortcode('[gallery columns="12" type="carousel" caption="true" ids="75,74,73" orderby="rand" link="file" masonry="default" width="" height="" speed="4000"]');
}

2. Is there a way to move the gallery above the banner image by changing the hook? I tried ‘kt_before_header_content’ but no luck. Should I be using some sort of slider?
3. I want to reduce the size of the gallery images. I tried width=”150″ height=”150″ and width=”150px” height=”150px”, but the images remain fixed at 240x240px.

Very many thanks,
Phil.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.