XF 1.4 Custom Mod Title Changes

majesty95

Active member
I have a custom mod title bar set up. It looks fine on the sidebar with the max width setting. However, it is showing full screen on all pages. I tried a adding a max width but it did not work. How can I set it to be max 65px everywhere?

Code:
.custom-title-mod {
    background-color: @primaryMedium;
    border: 1px solid @primaryDark;
    border-radius: 4px;
    padding: 1px;
    margin: 4px;
    text-align: center;
    color: white;
}

.sidebar .custom-title-mod {
    margin-left: 40px;
    max-width: 65px;

User title.webp

Also, I had Premium Members set to allow custom user title. However, when I added premium permissions to a few mods, they now have their default user title instead of the custom title bar from above. How can I give them premium access but keep their moderator title bar?
 
Ok, I figured out how to center and size them, but now its centered everywhere which makes them show up in the middle of the above page. How can I center them on the side of posts in threads but align on the left on pages like above?
 
Are you able to provide a link to your forum so we can check your CSS code? I couldn't see a link to your forum in your profile or in this thread.

I realise you have put example code in your first post but another CSS class may be conflicting.
 
Top Bottom