• Resolved valorrsps

    (@valorrsps)


    Im going to try to explain this the best that i can. Im working on a Runescape Private Server and Im creating a website for it on WordPress. Im trying to import Voting onto my website. When i am on DashBoard, i got to Pages, “Vote” and when im there i see Visual and Text. In the TEXT tab i put this code in because i seen on it posted HERE

    Here is the CODE:

    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml">
    
    <head>
        <title>Vote</title>
        <style type="text/css">
            body,
            html {
                margin: 0;
                padding: 0;
                height: 100%;
                overflow: hidden;
            }
            
            #content {
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                top: 0px;
            }
        </style>
    </head>
    
    <body>
        <div id="content">
            <iframe width="100%" height="100%" frameborder="0" src="https://yoursubdomain.everythingrs.com/services/vote/" />
        </div>
    </body>
    
    </html>
    

    **********************************************************************************
    The code works BUT i cant get it to be the FULL PAGE instead of a small fraction of the page. Can anyone help please. Here is what the code looks like on the page HERE

    **See how its a small portion. Its inside its own box, and i would like for it to be the WHOLE PAGE! Any and all help HELPS! Please and Thank YOU!

Viewing 8 replies - 1 through 8 (of 8 total)
  • All you really need is the <iframe> portion. Everything else should be left out.

    <iframe width=”100%” height=”100%” frameborder=”0″ src=”https://yoursubdomain.everythingrs.com/services/vote/” />.

    That being said, the iframe will bring in everything from the page in the source attribute (https://yoursubdomain.everythingrs.com/services/vote/). There’s no way within WordPress to modify the page within the iframe. Perhaps that service has a way to modify the layout of page you’re trying to embed.

    Thread Starter valorrsps

    (@valorrsps)

    I tried the code you said to do and it didnt even work that way. It didnt even pull up the right information. I tried contacting the developer of the theme im using to see if they could help me but right now its just not working. Thanks for the reply

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Developing with WordPress topic.

    I tried the code you said to do and it didnt even work that way. It didnt even pull up the right information. I tried contacting the developer of the theme im using to see if they could help me but right now its just not working. Thanks for the reply

    @valorrsps – It’s directly from the code you provided. You probably need to replace the URL in the src attribute with the correct URL for your embed. I’m guessing what you provided us was an example.

    <iframe width=”100%” height=”100%” frameborder=”0″ src=”https://yoursubdomain.everythingrs.com/services/vote/” />

    Thread Starter valorrsps

    (@valorrsps)

    Yes the link is supposed to be this: https://valorrsps.everythingrs.com/services/vote

    But even with that it doesn’t make it full screen.

    At this point I’m just going to assume you’re talking about the vertical scroll within the iframe.

    You probably need to adjust the height of the iframe. Example:

    <iframe width="100%" height="600" frameborder="0" src="https://valorrsps.everythingrs.com/services/vote/" />

    Modify “600” until it reaches your desired height. And know, it will never be perfect. Especially if your theme is responsive and the visitor is on a mobile device.

    Thread Starter valorrsps

    (@valorrsps)

    I have tried that but nothing seems to be changing it. Thanks for your help but nothing seems to be working!

    Thread Starter valorrsps

    (@valorrsps)

    I got it figured out. I had to install a CODE EMBED plugin and put the code I have above in that and now it does the whole page instead of just a tiny portion of the iframe. Thank you for your help though!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘HTML Code Setup’ is closed to new replies.