inherit
penguin4559@gmail.com
198362
0
Oct 26, 2022 9:44:19 GMT -8
penguin45
47
August 2013
penguin45
|
Post by penguin45 on Oct 17, 2015 8:19:36 GMT -8
Forum URL: landcrabforum.co.uk/Afternoon, I wish to add a disclaimer at the top of specific fora on the above site. Something like the above - the yellow highlighted area needs to appear permanently above the various threads. How do I do that? Many thanks, Chris, P45.
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Oct 18, 2015 11:43:54 GMT -8
Hi,
go to:
Admin >> Structure >> Headers & Footers (/admin/structure/headers) >> go to the board you want to add the disclaimer at
in the "Header" section add this:
<div class="container"> <div class="title-bar" style="text-align:center;"><h2>TITLE HERE</h2></div> <div class="pad-all" style="background-color:yellow;"> SOME TEXT HERE </div> </div>
edit the bold sections.
repeat for additional boards.
|
|
inherit
penguin4559@gmail.com
198362
0
Oct 26, 2022 9:44:19 GMT -8
penguin45
47
August 2013
penguin45
|
Post by penguin45 on Oct 18, 2015 12:13:45 GMT -8
You are a gent, Sir. I will attempt this feat of code writing and report back. P45.
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Oct 18, 2015 12:20:00 GMT -8
You are a gent, Sir. I will attempt this feat of code writing and report back. P45. You're Welcome!
|
|
inherit
penguin4559@gmail.com
198362
0
Oct 26, 2022 9:44:19 GMT -8
penguin45
47
August 2013
penguin45
|
Post by penguin45 on Oct 19, 2015 7:04:37 GMT -8
Well, I got pretty close, but I haven't quite won myself a cigar. Typed it all in and proof read several times, leading to this: Title has worked a treat and it seems to have created the space, but no background and text. I've done it wrong, haven't I? P45.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Oct 19, 2015 13:11:30 GMT -8
penguin45, If you highlight that empty space your text is there. It is just the same color as your background so add a color to this: <div class="pad-all" style="background-color:yellow ; color:white;"> Actually, not sure why the yellow background color isn't showing. Hmmm. Edit, actually you have a colon after the yellow instead of a semi-colon. (Should be like the red part above.)
|
|
inherit
penguin4559@gmail.com
198362
0
Oct 26, 2022 9:44:19 GMT -8
penguin45
47
August 2013
penguin45
|
Post by penguin45 on Oct 19, 2015 15:19:36 GMT -8
Yes, thank you, that has produced the text. Fiddly, precise stuff is code, which I confess to no in-depth knowledge of. I should stick to repairing domestic appliances and playing with cars. Many thanks, Chris, P45.
|
|