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

Home Image Menu > background-size:cover

Home / Forums / Virtue Theme / Home Image Menu > background-size:cover

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
October 4, 2016 at 10:50 am

Hello,
I have created a Home Image Menu and would like the background images of the menu elements to cover the element.
The problem is when I write in the custom css:
.infobanner{
background-size:cover
}

it is canceled because the element has an inline style of
<strong>background</strong>: url(image_url) center center no-repeat;

the background css property overriding the background-size property.

Is there a solution where I do not need to hack the theme?
If I need to hack the theme (well I would do a child theme first) which file do I have to change to get the job done?

Thank you

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