inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Oct 5, 2016 16:45:55 GMT -8
No hurry but cool. Thanks
|
|
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 Oct 5, 2016 16:58:30 GMT -8
OK! Here you go, let me know if you need any changes (:
Step 1: Place the following CSS at the bottom of your stylesheet (if you have multiple themes, this will need to go in every style sheet, or you can wrap it in <style></style> tags and put it in your global header. Note that the latter option will not allow for the css to be cached, which will make it have to reload on every page load).
/* ====================================== For Recent Posts Box =======================================*/
.recent-posts-header { padding: 10px; text-align: center; background-color: #fff; color: #000; border-radius: 5px; border: 1px solid #061d42; margin-top: 10px; margin-bottom: 10px; }
Step 2: For the Home page, go to structure > layout templates > home. Find the $[news] variable, and place the following code BELOW it:
{if $[route.name] == 'home'} <div class="recent-posts-header"> Don't forget to check out what the rest of the site has to offer! <br /> Have a look at the $[recent_posts_link] and interact with your fellow members! </div> {/if}
Step 3: For everywhere else, go to structure > layout templates > forum wrapper. Find the $[header] variable, and place the following code BELOW it:
{if $[route.name] != 'home'} <div class="recent-posts-header"> Don't forget to check out what the rest of the site has to offer! <br /> Have a look at the <a href="/posts/recent">Recent Posts</a> and interact with your fellow members! </div> {/if}
Let me know how that works out.
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Oct 5, 2016 17:44:40 GMT -8
KamiThanks sooo much. I love it. I have it on one and it works perfectly. I'm going to try it out on another and see what it looks like. The link works. It's showing in all of the places you mentioned. So far the colors stand out just right. Thanks for your hard 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 Oct 5, 2016 17:48:07 GMT -8
KamiThanks sooo much. I love it. I have it on one and it works perfectly. I'm going to try it out on another and see what it looks like. The link works. It's showing in all of the places you mentioned. So far the colors stand out just right. Thanks for your hard work. :D Glad to hear it! Let me know if you need anything else (:
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Oct 5, 2016 18:20:40 GMT -8
Just wanted to mention, I've tried it out on all of my most used themes and all is well. Thanks again Kami and I hope you have a good night.
|
|
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 Oct 5, 2016 18:21:36 GMT -8
Just wanted to mention, I've tried it out on all of my most used themes and all is well. Thanks again Kami and I hope you have a good night. Great, I'm glad to hear that! You're welcome (: Good night.
|
|