inherit
joshfromtheville@gmail.com
196066
0
Jun 30, 2024 2:15:54 GMT -8
MobFox
🤔🤔
758
June 2013
mobfox
|
Post by MobFox on Oct 27, 2017 10:45:49 GMT -8
Forum URL: (private) i would like the shoutbox not to be soo long and have the Traffic on the right side of the shoutbox and to be not taller than each other. Attachments:
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Oct 27, 2017 12:02:18 GMT -8
Hey MobFox You first need to move the code you have for "traffic" to the forum wrapper layout template and add a class to it for modification with CSS. To do that navigate to Admin Home > Themes > Layout Templates > Forum Wrapper and copy/paste the following (I have already added the class name for you) right on a new line after the $[shoutbox] variable: <div class="traffic-container"><script type="text/javascript" src="http://feedjit.com/serve/?vv=1515&tft=3&dd=0&wid=&pid=0&proid=0&bc=5C636B&tc=FFFFFF&brd1=336699&lnk=B5CDE6&hc=FFFFFF&hfc=464E52&btn=1E2224&ww=200&went=10"></script><noscript><a href="http://feedjit.com/">Live Traffic Stats</a></noscript></div> <div style="clear:both"> Then go to your style sheet, Themes > Advanced Styles & CSS > Style Sheet (tab), and add the following to the bottom of the style sheet: .traffic-container { float: right; }
.shoutbox.container.full { float: left; width: 80%; }
Adjust the width to your preference.
|
|
inherit
joshfromtheville@gmail.com
196066
0
Jun 30, 2024 2:15:54 GMT -8
MobFox
🤔🤔
758
June 2013
mobfox
|
Post by MobFox on Oct 27, 2017 13:01:59 GMT -8
Hey MobFox You first need to move the code you have for "traffic" to the forum wrapper layout template and add a class to it for modification with CSS. To do that navigate to Admin Home > Themes > Layout Templates > Forum Wrapper and copy/paste the following (I have already added the class name for you) right on a new line after the $[shoutbox] variable: <div class="traffic-container"><script type="text/javascript" src="http://feedjit.com/serve/?vv=1515&tft=3&dd=0&wid=&pid=0&proid=0&bc=5C636B&tc=FFFFFF&brd1=336699&lnk=B5CDE6&hc=FFFFFF&hfc=464E52&btn=1E2224&ww=200&went=10"></script><noscript><a href="http://feedjit.com/">Live Traffic Stats</a></noscript></div> <div style="clear:both"> Then go to your style sheet, Themes > Advanced Styles & CSS > Style Sheet (tab), and add the following to the bottom of the style sheet: .traffic-container { float: right; }
.shoutbox.container.full { float: left; width: 80%; }
Adjust the width to your preference. do i have to do this for each theme?
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Oct 27, 2017 13:03:57 GMT -8
You could move the CSS to the global header like so: <script> .traffic-container { float: right; }
.shoutbox.container.full { float: left; width: 80%; } </script> But the layout template edit you need to do for every theme.
|
|