Resource icon

Add advertising centered and only show on pc or only show on mobile

Compatible XF 2.x versions
2.0
Add these code to extra.less template

CSS:
@media all and (min-width: 480px) {
    .deskContent {
            display:block;
            margin: 0
            auto;
}    
    .phoneContent {
           display:none;
}
   
}

@media all and (max-width: 479px) {
    .deskContent {
          display:none;
}
    .phoneContent {...
You do not have permission to view the full content of this resource. Log in or register now.
Author
Kent D
First release
Last update
Rating
0.00 star(s) 0 ratings
Top