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.

Widget removal in HTML pages

5 posters

Go down

Solved Widget removal in HTML pages

Post by KidSasuke May 3rd 2014, 4: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

Widget removal in HTML pages KhU8bKe


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

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by KidSasuke May 5th 2014, 12:17 am

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

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Illest May 5th 2014, 12:27 am

Hi,

You don't need a code to delete widgets.

Admin CP > Modules > Forum widgets management and go from there.
Illest
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 May 5th 2014, 12: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
KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Shen Rajinto May 6th 2014, 1: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.
avatar
Shen Rajinto
Forumember

Male Posts : 43
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 May 8th 2014, 1: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?
avatar
Shen Rajinto
Forumember

Male Posts : 43
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 May 9th 2014, 10:06 pm

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?

Widget removal in HTML pages NzN6alf Widget removal in HTML pages 6VSqnUk

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

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Shen Rajinto May 9th 2014, 10:31 pm

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, 4:04 am; edited 4 times in total (Reason for editing : Added additional CSS to fix the problems - Added a comma)
avatar
Shen Rajinto
Forumember

Male Posts : 43
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 May 10th 2014, 4: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. Widget removal in HTML pages 3738195746
KidSasuke
KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

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

Hi Very Happy

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

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Widget removal in HTML pages

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

Glad I could help!
avatar
Shen Rajinto
Forumember

Male Posts : 43
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 May 10th 2014, 4: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. Widget removal in HTML pages 72454673
KidSasuke
KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Widget removal in HTML pages

Post by Pizza Boi May 10th 2014, 4: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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Widget removal in HTML pages

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

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

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

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