Notifications
Clear all

wpForo 1.x.x [Solved] Members and profile ignoring wpforo-wrap

6 Posts
2 Users
1 Likes
1,020 Views
Posts: 76
Topic starter
(@hypematrix)
Estimable Member
Joined: 3 years ago

Hello,

I'm using the following code which works fine on the Forum but both left and right side padding isn't working on the Members and Profile pages.

#wpforo-wrap {
font-size: 13px; width: 100%; padding:20px 20px; margin:0px;
}

Can anyone please help?

Please see attached.

Thanks

5 Replies
Tutrix
Posts: 1181
(@tutrix)
Noble Member
Joined: 4 years ago

@motorhype

that comes from the style.css of the wpForo Private Messages plugin

div#wpforo #wpforo-wrap {
    padding-left: 0;
    padding-right: 0;
}

use important then it works 😉 

#wpforo #wpforo-wrap {
    font-size: 13px;
    width: 100%;
    padding: 20px 20px !important;
    margin: 0px;
}

 

3 Replies
(@hypematrix)
Joined: 3 years ago

Estimable Member
Posts: 76

@tutrix That's done the trick, thanks again Tutrix 🙂

(@hypematrix)
Joined: 3 years ago

Estimable Member
Posts: 76

@tutrix

I think after adding important, it has stopped the mobile padding from working:

@media screen and (max-width:620px) {
#wpforo #wpforo-wrap {padding: 5px 5px;}
}

Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1181

@motorhype

also use important! 😉 

@media screen and (max-width:620px) {
    #wpforo #wpforo-wrap {padding: 5px 5px !important}
}
Posts: 76
Topic starter
(@hypematrix)
Estimable Member
Joined: 3 years ago

Thanks again Tutrix 🙂