Forums

[resolved] need help with iframe in theme twenty ten (10 posts)

  1. djclewes
    Member
    Posted 1 year ago #

    hi im trying to get the iframe aligned to the left so i can use the whole width of the page to expand the chat room on my site. but when i take away the side bar im left with the chat room aligned right and can only expand it so far before it goes off the page. with the side bar i can only have the chat room small.i tried this code but it failed to work.

    <iframe src ="http://kissychat.co.uk/prochatrooms/" width="910" height="500" name="frame" align="left" scrolling="no">
    <p>Your browser does not support iframes.</p></iframe>

    im using a diffrent theme to get what i want at the moment but i want the twenty ten theme any ideas on how i can do this please.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help. Also, if you customise Twenty Ten, your customisations will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

  3. djclewes
    Member
    Posted 1 year ago #

    my site is called http://www.kissychat.co.uk

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I can't see anything wrong with your current chat page.

  5. djclewes
    Member
    Posted 1 year ago #

    if you look now you will see my problem

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try using the one column page template.

  7. djclewes
    Member
    Posted 1 year ago #

    thats what im using

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Edit style.css and remove width: 640px; from:

    .one-column #content {
        margin: 0 auto;
        width: 640px;
    }

    But be warned that your customisations will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

  9. djclewes
    Member
    Posted 1 year ago #

    you esmi are a star thank you :)

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No problem. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags