• Resolved reshm

    (@reshm)


    here is my website https://iwebsbuilder.com/home/services/
    i am new to wordpress and new to coding, i would like to change that page so it fits the entire width instead of having a horizontal scroll bar. When i created my services page, i input a iframe code to have my external website embed for this specific page.

Viewing 15 replies - 16 through 30 (of 30 total)
  • I’m sorry this maybe my fault. I’m not sure if I was clear. You don’t need to install a theme you just need to upload through a FTP program or through your web host file uploader a single file. Which is the template file you created . You are going to add this file to the theme you are currently using.

    Thread Starter reshm

    (@reshm)

    oh i see!! another question. my site https://www.iwebsbuilder.com/home going to be forwarded from https://www.iwebsbuilder.com so i cannot use my web hot file uploader. i have to use a fpt. so thats what it did, i installed filezilla and it won’t let me log in.
    Filezilla,says “Response: 530 User cannot log in.
    Error: Critical error
    Error: Could not connect to server ”

    i am logging in with my information from iwebsbuilder.com since they are the original host. Is there a plugin you recommend me to use that can upload the file to my theme?

    thanks for the help so far!

    use this plugin to upload the template file you created. I made this tonight just for you. I will be uploading to wordpress plugins directory later this week.. It should work for you.

    https://gabrielcastillo.net/wp-theme-file-uploader/

    upload the custom-fullwidth-template.php file to the / directory.

    Thread Starter reshm

    (@reshm)

    Thank you so much! I really appreciate it!

    I uploaded the file to the directory and this is how the page looks like: https://iwebsbuilder.com/home/services/

    Its still smaller and i still see a horizontal bar and the footer is messed up. This is my code below that is in the file.

    <?php
    /*
    Template Name: Iframe Template
    */
    ?>
    <?php get_header(); ?>
    <!--Start Page navi bg-->
    <div class="page_navi_bg">
      <!--Start Container-->
      <div class="container_24">
          <!--Start Page navi-->
          <div class="page_navi">
            <?php if (function_exists('inkthemes_breadcrumbs')) inkthemes_breadcrumbs(); ?>
          </div>
          <!--End Page navi-->
        </div>
      </div>
      <!--End Container-->
    </div>
    <!--End Page navi bg-->
    <!--Start Container-->
    <div class="container_24">
    <!--Start  content wrapper-->
    <div class="content_wrapper">
      <div class="fullwidth">
        <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
        <?php the_content(); ?>
        <?php endwhile;?>
      </div>
    </div>
    <!--End Content Wrapper-->
    <?php get_footer(); ?>

    i believe you changed themes from the start of this thread, so you have to make some new adjustments.

    Please post the original code from the file you created the new template. I believe you may have remove some code on the wrong div.

    [solicitation for direct contact moderated – please keep the support in the forum]

    Thread Starter reshm

    (@reshm)

    yes i did change themes, but this new theme Dzonia Lite i have not changed (at least from what i can recall)….

    here is the original code from template-fullwidth.php in the Dzonia Lite theme

    <?php
    /*
    Template Name: Fullwidth Page
    */
    ?>
    <?php get_header(); ?>
    <!--Start Page navi bg-->
    <div class="page_navi_bg">
      <!--Start Container-->
      <div class="container_24">
        <div class="grid_24">
          <!--Start Page navi-->
          <div class="page_navi">
            <?php if (function_exists('inkthemes_breadcrumbs')) inkthemes_breadcrumbs(); ?>
          </div>
          <!--End Page navi-->
        </div>
      </div>
      <!--End Container-->
    </div>
    <!--End Page navi bg-->
    <!--Start Container-->
    <div class="container_24">
    <!--Start  content wrapper-->
    <div class="grid_24 content_wrapper">
      <div class="fullwidth">
        <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
        <?php the_content(); ?>
        <?php endwhile;?>
      </div>
    </div>
    <!--End Content Wrapper-->
    <?php get_footer(); ?>

    Ok, one more thing. Switch the template for services page back to original fullwidth template so I can see the code on your site, and I should be able to get you the write template layout.

    Thread Starter reshm

    (@reshm)

    thank you, i just switched it back to the normal fullwidth template

    With this template this is the close’s i can get with out having to rewrite some of the css structure. The first template you started with would have looked better.

    <?php
    /*
    Template Name: Iframe Template
    */
    ?>
    <?php get_header(); ?>
    <!--Start Page navi bg-->
    <div class="page_navi_bg">
      <!--Start Container-->
      <div class="container_24">
        <div class="grid_24">
          <!--Start Page navi-->
          <div class="page_navi">
            <?php if (function_exists('inkthemes_breadcrumbs')) inkthemes_breadcrumbs(); ?>
          </div>
          <!--End Page navi-->
        </div>
      </div>
      <!--End Container-->
    </div>
    <!--End Page navi bg-->
    <!--Start Container-->
    <div>
    <!--Start  content wrapper-->
    <div style="width:1000px;">
      <div class="fullwidth">
        <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
        <?php the_content(); ?>
        <?php endwhile;?>
      </div>
    </div>
    <!--End Content Wrapper-->
    <?php get_footer(); ?>

    You can adjust the iframe width to correct the over flow issue.

    Thread Starter reshm

    (@reshm)

    thank you it worked!!!! but your right the page overflows. in order to keep the same theme and make that overflow disappear i’d have to edit the entire main stylesheet correct?

    I believe so, you theme use’s 960px grid system, and you iframe content is at 1000px. You will have to edit one or the other to handle over flow issue.. This would be a bigger project and something you can get a developer to help you with. Or could be something you can handle yourself, shouldn’t be too difficult to fix.

    Thread Starter reshm

    (@reshm)

    is it possible for you to fix this for me? i’m looking back at the other themes now it i just love the Dzonia Lite theme

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘change width of template?’ is closed to new replies.