Recent Posts

937written posts
gimmickearned bits
offlinecurrently
gimmick
Part of the Furniture
gimmick Avatar
All birds and men are sure to die but songs may live forever

Misalignment of tab and body: you have the template twice, but it looks like the css in the second post wasn't updated, and so it's overriding the correct CSS in the first post. If you delete that second post, the first one should look correct as far as the tabs aligning.


Off-center vertical spacing: your site css has a td{ vertical-align:top !important; } which is overriding every other instance of vertical-align: middle. You could remove that from your site css, but in case you don't know what that'll affect, it might be best to add an !important to the instances where you use it in your templatesβ€”that should counteract it in this template and in your own.


Plug-in version: It would. After playing around with it a bit, the last version of the Style Tag plugin that still works with nesting [attr] in PTabs is 2.1.0


De-nesting [attr]: If you’re still interested, it’s pretty simple. All you have to do is take whatever css you had within the [PTab=div class] and apply it to a .PT_Tabs_holder td class instead. You may have to tweak it depending on how many divs were nested within that [PTab=] though. But basically, if you have
[PTab=[div][attr="class","nested"]Tab[/div]]
[newclass=.nested]color: red[/newclass]

it would become
[PTab=Tab]
[newclass=.PTabs_holder td]color: red[/newclass]


Also, if there are any margins applied via div style (which do still work) rather than an attr class, you may have to move those into a newclass as well. So from
[PTab=[div style="margin-left: 10px"]Tab 1[/div]
[PTab=[div style="margin-left: 20px"]Tab 2[/div]

to
[newclass=.PT_Tabs_holder td:nth-child(1)]margin-left: 10px[/newclass]
[newclass=.PT_Tabs_holder td:nth-child(2)]margin-left: 20px[/newclass]

last edit on Jun 21, 2020 22:27:43 GMT by gimmick
Tabbed Tables written Jun 17, 2020 21:02:31 GMT via mobile
937written posts
gimmickearned bits
offlinecurrently
gimmick
Part of the Furniture
gimmick Avatar
All birds and men are sure to die but songs may live forever
I have a strong suspicion that it’s related to the fact that the opening [PTab=] tags have [attr] tags nested inside.

From past experience with my own templates, sometimes the nesting works, sometimes it breaks the template, and it may have to do with the version of one of those plugins on the site.

Edit: Also verify that your Styles plugin is above the PTabs plugin
Edit 2: Can you try swapping out all the instances of [PTab=[div title="lovers"][attr="class","hooksnattab"][i][attr="class","fa fa heart"][/i][/div]] so that it’s [PTab=Plain Text] and see what happens?
last edit on Jun 17, 2020 23:16:13 GMT by gimmick
937written posts
gimmickearned bits
offlinecurrently
gimmick
Part of the Furniture
gimmick Avatar
All birds and men are sure to die but songs may live forever
Sharp Avatar
It is so hard to be on really big sites when the entire general chat is just people doing "IC" chat with each other.

I'd say that's true for any size site