The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to make widgets visible only on the index?

4 posters

Go down

Solved How to make widgets visible only on the index?

Post by HateForColors 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.
avatar
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 May 5th 2013, 6:44 pm

can you provide a sceenshot for your problem? or post your forum link
avatar
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 May 5th 2013, 7:07 pm

Okay, so.
How the Widgets look on the index. (They look perfect)
How to make widgets visible only on the index? Screenshot0505201320030

How the widgets look when I leave the Index. ( I want to get rid of that whitespace )
How to make widgets visible only on the index? Screenshot0505201320032

How I want it to look when I leave the Index
https://2img.net/r/ihimizer/img94/5807/screenshot0505201320043.png
avatar
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 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>
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

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

Back to top Go down

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

Post by HateForColors 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.!
avatar
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 May 5th 2013, 9:41 pm

Topic Solved & Locked


How to make widgets visible only on the index? Slgray10

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

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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