inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Jan 13, 2020 15:21:18 GMT -8
I have a feeling I'm going about this the hard way and was wondering if anyone has any coding advice.
Some of my boards I have a line of code in their header to remove the mini profile.
<style>
div.mini-profile, .posts .post .left-panel{display:none;}
</style>
This works, of course, but is there a way I can trigger all the specific boards at once in a global header or something? I don't want to get rid of the mini profile on all boards, only specific ones. So is there something I can do in the global header or in the layout template that could do this?
I'm just looking for a simpler way rather then doing it in the header of every single board (since this is upwards of 20 boards)
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,768
January 2015
msg
|
Post by Lynx on Jan 13, 2020 19:56:14 GMT -8
I have a feeling I'm going about this the hard way and was wondering if anyone has any coding advice. Some of my boards I have a line of code in their header to remove the mini profile. <style>
div.mini-profile, .posts .post .left-panel{display:none;}
</style>
This works, of course, but is there a way I can trigger all the specific boards at once in a global header or something? I don't want to get rid of the mini profile on all boards, only specific ones. So is there something I can do in the global header or in the layout template that could do this? I'm just looking for a simpler way rather then doing it in the header of every single board (since this is upwards of 20 boards) No MP Per Board.pbp (322 B) It's editable, so you can see what I did. Basically, I selected Board on the right side, then put your code in the Headers tab. When editing, there's only the About tab - simply add/remove boards to be affected there. That method basically places your code in the Header for the board(s) you have selected. I was thinking of giving you an {if} statement to use in templates - until I saw '20 boards'. That would be a LOT of ORs in there for board checking.
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Jan 14, 2020 0:16:33 GMT -8
Perfection. See..I knew it was something simple! You're amazing! Thank you!
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,768
January 2015
msg
|
Post by Lynx on Jan 16, 2020 11:53:50 GMT -8
Perfection. See..I knew it was something simple! You're amazing! Thank you! You're welcome!
|
|