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.
The forum of the forums
5 posters

    Widget removal in HTML pages

    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Widget removal in HTML pages

    Post by KidSasuke 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

    Widget removal in HTML pages KhU8bKe


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


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Widget removal in HTML pages

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

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


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

    Solved Re: Widget removal in HTML pages

    Post by Illest 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.
    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Widget removal in HTML pages

    Post by KidSasuke 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.
    avatar
    Shen Rajinto
    Forumember


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

    Solved Re: Widget removal in HTML pages

    Post by Shen Rajinto 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.
    avatar
    Shen Rajinto
    Forumember


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

    Solved Re: Widget removal in HTML pages

    Post by Shen Rajinto 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?
    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Widget removal in HTML pages

    Post by KidSasuke 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?

    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
    avatar
    Shen Rajinto
    Forumember


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

    Solved Re: Widget removal in HTML pages

    Post by Shen Rajinto 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)
    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Widget removal in HTML pages

    Post by KidSasuke 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. Widget removal in HTML pages 3738195746
    Pizza Boi
    Pizza Boi
    Hyperactive


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

    Solved Re: Widget removal in HTML pages

    Post by Pizza Boi 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
    avatar
    Shen Rajinto
    Forumember


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

    Solved Re: Widget removal in HTML pages

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

    Glad I could help!
    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Widget removal in HTML pages

    Post by KidSasuke 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. Widget removal in HTML pages 72454673
    Pizza Boi
    Pizza Boi
    Hyperactive


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

    Solved Re: Widget removal in HTML pages

    Post by Pizza Boi 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
    Jophy
    Jophy
    ForumGuru


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

    Solved Re: Widget removal in HTML pages

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

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

      Current date/time is September 22nd 2024, 11:25 pm