Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 6:14:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 3:23:11 GMT -8
hi I want to disable the background on one of my boards but don't know what the class is, can someone help pls ? i'll be putting this in the header for that board <style>.XXXXXXX{display:none}</style> thank you.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 6:14:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 8:47:27 GMT -8
i'v done it with a plugin but i'd rather have the class for it, less code stuff etc slowing the site down. thank you edit: and the search page if you would be so kind
|
|
Liam
New Member
Posts: 21
inherit
229517
0
Aug 21, 2017 9:54:57 GMT -8
Liam
21
February 2016
lro
|
Post by Liam on Jun 10, 2016 9:42:59 GMT -8
Can you provide a screenshot of the exact thing you want disabled? Do you mean the background image that appears on every page of the forum?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 6:14:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 11:08:31 GMT -8
Can you provide a screenshot of the exact thing you want disabled? Do you mean the background image that appears on every page of the forum?yea the one that's in the visual css screen, the on that's on every page.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Jun 10, 2016 11:49:24 GMT -8
The background can be controlled by the following CSS: body { background-image: css here; } However because you want it to target specific boards, I believe you'd need some javascript to target those boards. I'm not 100% sure on that, so tagging a couple of folks: Tumbleweed, Chris maybe?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 6:14:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 13:10:41 GMT -8
The background can be controlled by the following CSS: body { background-image: css here; } However because you want it to target specific boards, I believe you'd need some javascript to target those boards. I'm not 100% sure on that, so tagging a couple of folks: Tumbleweed , Chris maybe? i thought <style>.body{display:non;}</style> would work in the board header. i'll go try
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 6:14:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 13:13:51 GMT -8
i tried it, didn't work
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Jun 10, 2016 13:21:40 GMT -8
Well what you just wrote is riddled with mistakes, first of all.
- .body would imply that 'body' is a class name, which it's not.
- 'non' is not valid syntax
- setting body: display: none; would get rid of everything that falls under 'body' which is your entire site.
If that's what you put in your board header then it's definitely not going to work for the reasons above.
You can give this a try in your board header:
<style type="text/css"> body { background-image: none!important; } </style>
If that doesn't work, I'm not entirely sure what would.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 6:14:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 14:10:24 GMT -8
Kami it's worked thank you. Is it possible to have it work for the search page aswell ?
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Jun 10, 2016 14:32:35 GMT -8
Kami it's worked thank you. Is it possible to have it work for the search page aswell ? Try putting the same thing in Admin > Structure > Layout Templates > Search
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 6:14:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 14:43:50 GMT -8
it's worked, i should have known this thanks for the help i owe you some flowers
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Jun 10, 2016 14:54:25 GMT -8
glad to hear it. dunno why i thought you would need javascript, silly me.
|
|