inherit
66789
0
Feb 2, 2014 14:30:24 GMT -8
JoshDFTBA
150
December 2005
lildrumboy89
|
Post by JoshDFTBA on Jan 31, 2014 14:08:14 GMT -8
Okay so quick question. I saw earlier back on like page 5 or 6 someone asked about being able to change the tab color depending on the post template, but I wasn't sure if it was fully answered, and if it was I didn't understand the answer.
Can this be done using inline CSS? I know we can change the content box background color for each tab and such adding inline to the closing tag for Ptab, but I haven't been able to change the actual Tab background color other than making a default color using the site CSS.
So essentially I'm just trying to make it to where anyone on the site that's posting a table can change the color of each tab to whatever they want without us having to constantly change the main CSS of the site.
Sorry if I make so sense...been staring at codes for hours and my brain is dead. x.x
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 31, 2014 18:34:47 GMT -8
there is an option in the setting to make the tabs follow the div color they belong to. if you setup css for each PTab the tab itself will get the same treatment
|
|
inherit
66789
0
Feb 2, 2014 14:30:24 GMT -8
JoshDFTBA
150
December 2005
lildrumboy89
|
Post by JoshDFTBA on Feb 2, 2014 13:28:15 GMT -8
there is an option in the setting to make the tabs follow the div color they belong to. if you setup css for each PTab the tab itself will get the same treatment Thanks! For some reason I overlooked that.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 29, 2024 13:00:24 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 23, 2014 19:44:04 GMT -8
Heya Wormopolis, so I caught an odd error caused by this plugin. When you input numbers prefaced with a dollar sign, it seems to sometimes make those numbers invisible, but its' not every single time and sometimes it only gets rid of one number like $40 might become 0. Upon disabling the plugin, the numbers showed up right, so I know the plugin is the cause. For example, in the Costs tab of this thread alcryst.net/thread/17/central-laws one part is supposed to look like this And it's showing up like this once you post/edit the message You'll see that some numbers are missing or cut off and one part gets replaced by a snippet of code that is most definitely not intentionally there. xD This has happened in other threads on the site and always within the tabbed table, at least that I've noticed
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Apr 24, 2014 0:54:20 GMT -8
interesting.. its treating the $N as a regexp recall and substituting in whatever was saved in the last regexp check.. never seen that before...
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 29, 2024 13:00:24 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 24, 2014 1:03:25 GMT -8
Any idea what's causing it or how to fix it?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Apr 24, 2014 8:57:59 GMT -8
no. it requires research and time Im currently short on. maybe try \$ and see if it leaves them alone
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 29, 2024 13:00:24 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 24, 2014 12:46:20 GMT -8
Alrighty, no problem. I'll try that and if not I'll find a way to rephrase it without using the $ sign. Thank you for helping me as best you could! ^^
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Apr 25, 2014 0:21:44 GMT -8
I pulled this up with you before on SHIELD having the same issue wormo, you suggested then using just between the $ and the first number
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Apr 25, 2014 1:00:45 GMT -8
example: $[b][/b]40
|
|
inherit
158729
0
Sept 18, 2024 17:34:15 GMT -8
littlebabe322
265
September 2010
littlebabe322
|
Post by littlebabe322 on May 24, 2014 12:07:18 GMT -8
So I don't want the border around the tabbed table is there any way to get rid of that because every time I take it out of the CSS it's still showing up on the post. /* Tabbed Posts */ .post .message table.PT_table {width: 100%; } /* Overall table default */ .PT_table .PT_table_header {text-align: center; font-weight:bold; font-size:20px; color: #000;} /* Table title if there is one */ .PT_table .PT_tabs {text-align:center; background-color: #30928b; ;} /* Tabs unselected */ .PT_table .PT_tabs_selected {text-align:center; background-color: #76775f;} /* Tabs selected */ .PT_table .PT_tabs_hover {text-align:center; background-color: #76775f; } /* Tabs hover */ .PT_table .PT_tabs_selected_hover {text-align:center; background-color: #30928b; } /* Tabs selected Hover */ .PT_table .PT_spots {background-color:#aaa786;} /* The content sections under the tabs */ That's my css and I have it at the very bottom of my Forum CSS in the style sheet. This is the thread that I'm trying to do it on. Face Claim
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on May 25, 2014 4:09:48 GMT -8
.post .message table.PT_table {width: 100%; border:none}
should be able to remove it. or set it to 0px
|
|
inherit
206040
0
Sept 10, 2014 14:01:50 GMT -8
de Plume
28
February 2014
deplume
|
Post by de Plume on May 26, 2014 9:21:39 GMT -8
Hey there Wormopolis. I tried changing the table's width (using both pixels and percentages) but to no avail. I also can't get rid of the outer border (but I don't want to get rid of the border, I simply want to change its colour. I don't want the square border around the whole thing, though.). Here is how it currently looks: (link)And here is the code: (It's at the bottom of /* Posts */ section) .post .message table.PT_table {width: 500px; background-color: #efefef; border: #e5e5e5 solid 1px; padding: 10px; border-radius: 10px;} /* Overall table default */ .PT_table .PT_table_header {text-align: center; font-weight:bold; font-size:20px;} /* Table title if there is one */ .PT_table .PT_tabs {text-align:center; background-color: #E5E5E5; border-left: 0px solid; border-right: 0px solid} /* Tabs unselected */ .PT_table .PT_tabs_selected {text-align:center; background-color: #f5f5f5} /* Tabs selected */ .PT_table .PT_tabs_hover {text-align:center; background-color: #e5e5e5} /* Tabs hover */ .PT_table .PT_tabs_selected_hover {text-align:center; background-color: #E5E5E5} /* Tabs selected Hover */ .PT_table .PT_spots {background-color:#efefef;} /* The content sections under the tabs */
Everything else works beautifully.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on May 26, 2014 19:27:13 GMT -8
if you want to inline style a section or the table itself, add CSS to the end tag like:
[/PTabbedContent={color:#FF0000; background-color:#FFFFFF; font-weight: bold;}]
but you can override all tables from the default CSS using
.post td.content div.message table.PT_table
Im looking at reducing the selectivity on the default CSS to make it easier to override, but I need someway to differentiate it from normal post tables that were getting affected by the PB default CSS itself.
|
|
inherit
158729
0
Sept 18, 2024 17:34:15 GMT -8
littlebabe322
265
September 2010
littlebabe322
|
Post by littlebabe322 on May 27, 2014 7:33:59 GMT -8
.post .message table.PT_table {width: 100%; border:none} should be able to remove it. or set it to 0px That actually did not work is there something that's overriding it to the point that it's not letting it work? Or is there something more that can be done to fix it? EDIT: if anything I don't mind the border there I can even just change the color but even doing so It's still not letting me change it for some reason.
|
|