XF 1.2 Last questions

Brogan

XenForo moderator
Staff member
That's because the style is responsive, so that CSS applies.

You have to use media queries to change the CSS based on the page width.
Code:
.Responsive .messageUserBlock a.username {
text-align: center;
}

@media (max-width:@maxResponsiveNarrowWidth) {
  .Responsive .messageUserBlock a.username {
    text-align: left;
    }
}
 

Pierre Boulanger

Active member
That's because the style is responsive, so that CSS applies.

You have to use media queries to change the CSS based on the page width.
Code:
.Responsive .messageUserBlock a.username {
text-align: center;
}

@media (max-width:@maxResponsiveNarrowWidth) {
  .Responsive .messageUserBlock a.username {
    text-align: left;
    }
}
wow.. Can you please tell me how? What should i do?
 

Brogan

XenForo moderator
Staff member
I don't know what you want so it's impossible for me to suggest something.

Just use the LikeLabel class and style it to suit:
Code:
.LikeLabel {
color: red;
font-weight: bold;
padding: 4px;
border: 1px solid black;
}
 

Brogan

XenForo moderator
Staff member
Just create a new template with your HTML/CSS and include it in the sidebar - you can use one of the ad_sidebar templates if you wish.
 
Top