The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

widget show only in homepage

View previous topic View next topic Go down

Solved widget show only in homepage

Post by tommycoo on April 12th 2013, 4:53 pm

is this possible to make widget to show only in homepage ?

tommycoo
Forumember

Male Posts : 615
Reputation : 9
Language : Indonesia

http://www.atlanta.forumid.net

Back to top Go down

Solved Re: widget show only in homepage

Post by Jophy on April 12th 2013, 5:17 pm

Hello,

Which do you mean homepage? An HTML homepage, the index, or the portal?

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: widget show only in homepage

Post by tommycoo on April 13th 2013, 1:29 am

index forum i mean

tommycoo
Forumember

Male Posts : 615
Reputation : 9
Language : Indonesia

http://www.atlanta.forumid.net

Back to top Go down

Solved Re: widget show only in homepage

Post by E-Mark on April 13th 2013, 5:04 am

It's not possible with the FM options, but it can be done via CSS.
Give this a try:

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;
}
- If your widget is on the left side, put this one:
Code:
#content-container div#left {
  display: none;
}

Now go to ACP > Display > Templates > General > index_body: (Put this code at the very bottom of the index_body)
- If your widget is on the right side, put this one:
Code:
<style>
#content-container div#right {
display: inline !important;
  }
</style>
- If your widget is on the right side, put this one:
Code:
<style>
#content-container div#left {
display: inline !important;
  }
</style>

Hello


Last edited by E-Mark on April 13th 2013, 6:43 am; edited 1 time in total

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: widget show only in homepage

Post by tommycoo on April 13th 2013, 6:43 am

just want to tell you all, this code works very well but there is a white space there.
if u want to hide it. just add this code

Code:
#content-container div#container {
    width: auto !important;
}

Problem Solved

tommycoo
Forumember

Male Posts : 615
Reputation : 9
Language : Indonesia

http://www.atlanta.forumid.net

Back to top Go down

Solved Re: widget show only in homepage

Post by E-Mark on April 13th 2013, 6:47 am

I don't see something like that. But yeah, if anyone will use the code i posted and see something like what tommycoo said, try to use the code above Smile.

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: widget show only in homepage

Post by Sanket on April 13th 2013, 7:22 am

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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