TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

December 04, 2024, 01:31:13 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,443
  • Total Topics: 21,252
  • Online today: 158
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 0
  • Guests: 68
  • Total: 68

More options for the roundframe style

Started by [chrisB], January 09, 2023, 10:50:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[chrisB]

Quote from: @rjen on January 15, 2023, 10:43:25 PM
Well, like I said: there is no higher-level element on that page that indicates that it is the boardindex...

So there is nothing to target using css...
This does what I want, but I'm not sure if it's the correct way to do it with all the '0' values. I tried with just the margin part, the other parts would return from the tinyportal css
.action_forum .roundframe {
    margin: 1px 0px 0px 0px;
    padding: 0;
    background: 0;
    border: 0;
    border-radius: 0;
    box-shadow: 0;
    overflow: 0;
}


Could someone please explain and tell me the code to override this please?
<div id="tprightbarContainer" style="width:305px;">

Nothing I have tried works so far.

@rjen

This is an in-line style: it will ALWAYS override anything set in css...

What are you trying to accomplish by overriding that?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

[chrisB]

I would like the width for the forum to be 270px.

@rjen

You mean you want a different width for the right panel when you are forum, different from the standard width ...

This width is set by the TinyPortal panel width setting: that does not allow for different values depending on where you are
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

Correction. I think this WILL work...

add to your css...

.action_forum #tprightbarContainer {
   width: 270px!important;
}
Running Latest TP on SMF2.1 at: www.fjr-club.nl

[chrisB]

Quote from: @rjen on January 27, 2023, 06:23:40 PM
Correction. I think this WILL work...

add to your css...

.action_forum #tprightbarContainer {
   width: 270px!important;
}

THANK YOU, thank you rjen! 👏🏻👏🏻