inherit
179966
0
Mar 19, 2019 9:23:16 GMT -8
Welshling
Dohtml - v5 templates, advertising & more.
1,150
May 2012
welshling
|
Post by Welshling on Apr 4, 2013 4:35:09 GMT -8
Hey guys, not sure if this is the right place to post for help in finding a code or template mod but didn't know where else to post either xD I am looking for a code, or mod that shows when new posts have been made by altering the color of the board descriptions. Now, to explain further. I have seen and used this code on my previous theme which was created by Stinky666 but haven't heard back from him regarding this template mod. in stinky's theme, the board descriptions would have a div around them. This div was colored, to show a new post had been made. so the descriptions looked like this. | this is your general board. |and if no new posts had been made then the board descriptions would be the default color for your theme. I hope this makes sense, thanks for who ever points me in the right direction of this mod or code xD Click here
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Apr 4, 2013 6:46:05 GMT -8
Hey guys, not sure if this is the right place to post for help in finding a code or template mod but didn't know where else to post either xD I am looking for a code, or mod that shows when new posts have been made by altering the color of the board descriptions. Now, to explain further. I have seen and used this code on my previous theme which was created by Stinky666 but haven't heard back from him regarding this template mod. in stinky's theme, the board descriptions would have a div around them. This div was colored, to show a new post had been made. so the descriptions looked like this. | this is your general board. |and if no new posts had been made then the board descriptions would be the default color for your theme. I hope this makes sense, thanks for who ever points me in the right direction of this mod or code xD Click hereI didn't even see that PM, sorry. I assume this is for the "Ice" theme, assuming that's its name still ... ? If so, are you leaving the description where it is now, or do you have other plans?
|
|
inherit
179966
0
Mar 19, 2019 9:23:16 GMT -8
Welshling
Dohtml - v5 templates, advertising & more.
1,150
May 2012
welshling
|
Post by Welshling on Apr 4, 2013 7:16:59 GMT -8
hey there, no worries. I think i have the board descriptions as i want them yes, so i will be leaving them alone. All i did was follow a post on here that hide the on/off columns by adding <-- that i think it was to the css.
Anyways, yeah if you can give me a hand with the colored div part that shows when a post has been made please?
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Apr 4, 2013 7:23:56 GMT -8
In your Layout Templates > Board ListRoughly line 18 you should see: <p class="description">$[board.description]</p> Replace it with <p {if $[board.is_new]} id="descrip2"{else}id="descrip"{/if}>$[board.description]</p> Then add the following to the bottom of your CSS/Style Sheets in Admin > Themes > Advanced Styles & CSS > Style Sheet: /* Main Page New Posts/No New Posts */ #descrip { background-color: #141414; border-left: 5px solid #141414; border-right: 5px solid #141414; font: 400 85% Arial,Helvetica,sans-serif; padding: 10px; .rounded-corners(2px); } #descrip2 { background-color: #111111; border-left: 2px solid #CF5558; border-right: 2px solid #CF5558; font: 400 85% Arial,Helvetica,sans-serif; padding: 5px; .rounded-corners(2px); } Adjust the colours, padding etc to your liking
|
|
inherit
179966
0
Mar 19, 2019 9:23:16 GMT -8
Welshling
Dohtml - v5 templates, advertising & more.
1,150
May 2012
welshling
|
Post by Welshling on Apr 4, 2013 7:32:44 GMT -8
thanks, just fiddling with the colors now =3 Stinky666 ok done, what do you think?
|
|