Coding-Spot

You are not connected. Please login or register

 
 
 

Showing widgets in homepage only

Message (Page 1 of 1)

#1

Mark

Mark
 
Administrator
Administrator

Posted April 18th 2013, 12:45 pm

 

*
THANKED

Here's a simple tutorial on how to display the forum widgets on the homepage ONLY.
Forum Version: All version

1. Go to ACP > Display > Pictures and Colors > Colors > CSS:
- If your widget is on the right side, put this one:
Code:
#content-container div#right {
  display: none !important;
}
#content-container div#container div#content {
  margin-right: 0px;
}
- If your widget is on the left side, put this one:
Code:
#content-container div#left {
  display: none;
}
2. Now go to ACP > Display > Homepage > Generalities > Homepage Message:
- If your widget is on the right side, put this one:
Code:
<style>
#content-container div#right {
display: inline !important;
  }
#content-container div#content {
margin-right: 270px !important;
  }
</style>
- If your widget is on the left side, put this one:
Code:
<style>
#content-container div#left {
display: inline !important;
  }
</style>
Have fun!  :P:



https://coding-spot.darkbb.com


Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None