[SOLVED!] Change/Remove Wiki+ Background?

Post

Posted
Rating:
#2450 (In Topic #490)

Old mythus can't remember...

Greetings,

Either this has changed or I simply can't remember how to do things… 

Anyway, I want to remove the blue box background from my Wiki+ articles without affecting other boxes. It looks like the background is being called by .box, but changing it will change all items themed with .box stylesheet rules.

I have tried to work around this making a few stylesheet rules and applying their classes to the sidebar blocks and the like, to no avail. 

Didn't this use to be controlled by global middle? I know CSS and HTML. I even know a little php. Bt I can't seem to remember how to work this out which is a bit frustrating…

So how do I get rid of/change the blue box background of my wiki pages? Screenshot is attached. I want to remove only the background of the article, not the background of the side blocks or table of contents - though bonus points for directing me / refreshing me on where I can alter those!

Screenshot from 2017-04-20 09-14-38.png  

Last edit: by mythus


Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by mythus)
#2460
Hi,

If you enable "Hide posts" on the Wiki+ page it will remove that box as a side-effect. That's probably what you want.

Otherwise, edit WIKI_PAGE_SCREEN.tpl and remove <div class="box box___wiki_page_screen"><div class="box_inner">...</div></div>.

Post

Posted
Rating:
#2466
Thanks Chris,

I forgot it works that way. I don't suppose there's some spiffy Commandr code to set all the wiki pages to "hide posts" is there?

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by mythus)
#2467
OTTOMH…

Code

@UPDATE cms_wiki_pages SET hide_posts=1

Post

Posted
Rating:
#2468
Yup that did it. Awesome as always Chris.

Post

Posted
Rating:
#2470
FYI there's also a config option that specifies the default.

Post

Posted
Rating:
#2528
LOL very likely Chris. But comandr needed some love, and it is just so simple to throw a command at it and have it do the heavy lifting :) .

Post

Posted
Rating:
#2529
No, I mean, the default for new pages you create.

Post

Posted
Rating:
#2531
Yes of course. That commandr code set that already for new pages. When I created new pages, Hide Posts was already set.

2 guests and 0 members have recently viewed this.