How to make widgets visible only on the index?

Go down

Solved How to make widgets visible only on the index?

Post by HateForColors on May 5th 2013, 6:32 pm

Hello, can someone help me making my widgets visisible only on the Index?
I have tried a few codes, but when I leave the index there remains a white space in the place of the widgets.
My forum version is phpbb3.

HateForColors
New Member

Posts : 6
Reputation : 1
Language : English / Romanian

Back to top Go down

Solved Re: How to make widgets visible only on the index?

Post by BetterHax on May 5th 2013, 6:44 pm

can you provide a sceenshot for your problem? or post your forum link

BetterHax
Forumember

Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines

Back to top Go down

Solved Re: How to make widgets visible only on the index?

Post by HateForColors on May 5th 2013, 7:07 pm

Okay, so.
How the Widgets look on the index. (They look perfect)


How the widgets look when I leave the Index. ( I want to get rid of that whitespace )


How I want it to look when I leave the Index
http://img94.imageshack.us/img94/5807/screenshot0505201320043.png

HateForColors
New Member

Posts : 6
Reputation : 1
Language : English / Romanian

Back to top Go down

Solved Re: How to make widgets visible only on the index?

Post by E-Mark on May 5th 2013, 7:17 pm

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;
}
- Now add this to remove the white space.
Code:
#content-container div#content {
  margin-right: 0;
}

2. Now go to your 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: 180px !important;
  }
</style>
avatar
E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: How to make widgets visible only on the index?

Post by HateForColors on May 5th 2013, 7:38 pm

God, you`re a wizzard! Thank you , problem solved.
I had to tweak the code a bit, now it works perfectly.!

HateForColors
New Member

Posts : 6
Reputation : 1
Language : English / Romanian

Back to top Go down

Solved Re: How to make widgets visible only on the index?

Post by SLGray on May 5th 2013, 9:41 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43514
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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