Conditional Statements for Responsive View

Jace

Collaborate
Collaborate
Registered
Joined
Aug 9, 2020
Messages
169
Points
73

Reputation:

depends on ur theme, conditional statements for responsive isnt available
search css media query
 

Gursher

Active member
Registered
Joined
Jun 11, 2020
Messages
38
Points
18

Reputation:

.postbit_background {
opacity: .25;
position: absolute;
border-radius: 8px 8px 8px 8px;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: auto;
height: auto;
background-position: center;
background-size: cover !important;
height: inherit;
width: inherit;
}

@media (max-width: @xf-responsiveMedium) {
.postbit_background {
opacity: .25;
position: absolute;
border-radius: 8px 8px px 8px;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: auto;
height: auto;
background-position: center;
background-size: cover !important;
height: inherit;
width: inherit;
}
}

Apply and Adjust with your theme now..
 

Pedrito

Active member
Registered
Joined
Nov 20, 2020
Messages
25
Points
13

Reputation:

hello good morning, do any of you know how to plugin?
 
Top