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 removal in HTML pages

View previous topic View next topic Go down

Solved Widget removal in HTML pages

Post by KidSasuke on May 3rd 2014, 6:13 pm

Hi, i'm looking for a CSS code or Java that is capable of removing the widgets on the right side that shows up in the HTML pages. Sometimes having them disrupt the codes in the HTML page and stretches out. It also needs to be able to center out the contents in the HTML page too. All replies are appreciated, thank you.

Forum Type: PHPBB3



Last edited by KidSasuke on May 10th 2014, 6:19 am; edited 1 time in total

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by KidSasuke on May 5th 2014, 2:17 am

Bump? Anyone have an answer? I think it would require meta tags, but i'm not too sure...

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Illest on May 5th 2014, 2:27 am

Hi,

You don't need a code to delete widgets.

Admin CP > Modules > Forum widgets management and go from there.

Illest
Forumember

Male Posts : 135
Reputation : 9
Language : English
Location : USA

http://mixedmedia.userboard.net

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by KidSasuke on May 5th 2014, 2:35 am

@Illest wrote:Hi,

You don't need a code to delete widgets.

Admin CP > Modules > Forum widgets management and go from there.

Nooo, I want the widgets on my forum, just not on the HTML pages. One of my members created a code to do that very thing, but it was 'accidentally' removed. I would ask him to do it again, but he refuses to do it again.

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Shen Rajinto on May 6th 2014, 3:23 am

Do you have a link to your website? If not, try this:

In the code of your html page put this in the <head> section:

Code:
<style>
#right {
  display: none;
}
</style>

This will not display the widgets on that page only.

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Shen Rajinto on May 8th 2014, 3:26 am

@Shen Rajinto wrote:Do you have a link to your website? If not, try this:

In the code of your html page put this in the <head> section:

Code:
<style>
#right {
 display: none;
}
</style>

This will not display the widgets on that page only.

Did this fix your problem?

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by KidSasuke on May 10th 2014, 12:06 am

@Shen Rajinto wrote:Do you have a link to your website? If not, try this:

In the code of your html page put this in the <head> section:

Code:
<style>
#right {
 display: none;
}
</style>

This will not display the widgets on that page only.

Did this fix your problem?

Thank you very much. It works perfectly and sorry I took so long to reply back, but there's one thing left. I also wanted to center the content in the HTML and also make it 100% display. Even with the widgets no longer displaying in the HTML page, it's still cut off unless you make the entire page 70% view or less which looks bad. Anyway in fixing this problem?



Here's the link to the page to make this more easier: http://www.xenonduelacademy.com/h14-armedslots

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Shen Rajinto on May 10th 2014, 12:31 am

Try this: Add to the <style> section that I gave earlier:

Code:
div#content div#container {
 margin-right: 0px !important;
}
.left {
 float: none !important;
 min-width: 1004px !important;
 width: 1004px !important;
}

It should fix both your problems. You can try it first without the !important tags, but they might be necessary. Let me know how it goes.

Okay, I saw you put in the changes, but they didn't work. Try this:

Code:
<style type="text/css">
#right {
 display: none;
}
#content, #container {
 margin-right: 0px !important;
}
.left {
 float: none !important;
 min-width: 1004px !important;
 width: 1004px !important;
}
</style>
Just copy/paste over the old one.


Last edited by Shen Rajinto on May 10th 2014, 6:04 am; edited 4 times in total (Reason for editing : Added additional CSS to fix the problems - Added a comma)

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by KidSasuke on May 10th 2014, 6:14 am

Yes! Everything is working correctly now. Thank you so much for your support, Shen Rajinto. It looks and works better than the last coding we added. Again, thanks.

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Pizza Boi on May 10th 2014, 6:18 am

Hi Very Happy

Yo brah, I posted something of a similar solution to XDA, check it out.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Shen Rajinto on May 10th 2014, 6:22 am

Glad I could help!

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by KidSasuke on May 10th 2014, 6:23 am

Thank you very much, Pizza Boi. I'll be sure to use it right away seeing as how I've always wanted to install one onto the site.

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Pizza Boi on May 10th 2014, 6:31 am

Hi Very Happy

Just make sure to change the #wrap variable to #phpbb if I got it wrong lol. Also, re-add me on Skype, I wanna ask you something.

Sorry for going off-topic but I have posted a similar answer for him in XDA :o .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Jophy on May 10th 2014, 10:06 am

Since this thread appears to be solved, this topic is moved.

Jophy
ForumGuru

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

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