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

Responsive Header Image with media queries

Home / Forums / Pinnacle Theme / Responsive Header Image with media queries

This topic is: Not Resolved
[Not Resolved]
Posted in: Pinnacle Theme
April 26, 2016 at 3:12 am

Hi guys,

for http://www.supplimo.de I want to have a responsive page header image that changes the image according to screen size. I tried to do it with media queries, but I cannot find the right selector. Can you tell me what the selector in the theme is or if there is an other option to make the header image responsive.

See Code:


@media
(max-width: 500px) {
.titleclass home-title-class {
background-color: #ff9a32;
background: url(‘ center center no-repeat;
}
}


@media
(min-width: 501px) and (max-width: 800px) {
.titleclass home-title-class {
background-color: #ff9a32;
background: url(‘ center center no-repeat;
}
}

@media
(min-width: 801px) and (max-width: 1000px) {
.titleclass home-title-class {
background-color: #ff9a32;
background: url(‘ center center no-repeat;
}
}

@media
(min-width: 1001px) and (max-width: 1500px) {
.titleclass home-title-class {
background-color: #ff9a32;
background: url(‘ center center no-repeat;
}
}


@media
(min-width: 1501px) and (max-width: 1800px) {
.titleclass home-title-class {
background-color: #ff9a32;
background: url(‘ center center no-repeat;
}
}


@media
(min-width: 1801px) and (max-width: 2500px) {
.titleclass home-title-class {
background-color: #ff9a32;
background: url(‘ center center no-repeat;
}
}

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