Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter dra6on

    (@dra6on)

    ok seems to be working but the only problem i have now is the footer is wonky.

    also if i wanted to add another page what do i do ?

    I know you have to add it to the bottom section of the sidebar :
    Is this correct ?

    <!–Begin Sidebar–>
    <?php if (is_page(‘20012′,’27391’)) : ?>
    <?php else : ?>
    <?php get_sidebar(); ?>
    <?php endif; ?>
    <!–End Sidebar–>

    and then do you add this to the top section :

    <div id=”left-div” <?php if(is_page(20012,27391)) echo ‘class=”widepage”‘; ?>>

    and do you leave the #left-div.widepage { width: 930px; } as is ? or do you have to add more code in the styles.css page ?

    Thanks

    Thread Starter dra6on

    (@dra6on)

    and by doing it like that all the pages go a little crazy with the sidebar showing under the page and not on the left side

    Thread Starter dra6on

    (@dra6on)

    ok seems to work, now the footer has gone a little crazy.

    this is whats in the page.php file now : check the bold

    ?<?php get_header(); ?>

    <div id=”container”>
    <div id=”left-div”>
    <div id=”left-div” <?php if(is_page(20012)) echo ‘class=”widepage”‘; ?>>
    <div id=”left-inside”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <!–Start Post–>
    <span class=”single-entry-titles” style=”margin-top: 18px;”></span>
    <div class=”post-wrapper”>

    Thread Starter dra6on

    (@dra6on)

    still fails.

    where are you meant to put this piece of code … what section of the pages.php file ?

    this is a snipet of the top section of the pages.php file

    ?<?php get_header(); ?>

    <div id=”container”>
    <div id=”left-div”>
    <div id=”left-inside”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <!–Start Post–>
    <span class=”single-entry-titles” style=”margin-top: 18px;”></span>
    <div class=”post-wrapper”>
    <?php if (get_option(‘egamer_integration_single_top’) <> ” && get_option(‘egamer_integrate_singletop_enable’) == ‘on’) { ?>
    <div style=”clear: both;”></div>
    <?php echo(get_option(‘egamer_integration_single_top’)); ?>

    where does it have to go ?

    Thread Starter dra6on

    (@dra6on)

    I’ve tried placing :

    <div id=”left-div” <?php if(is_page(‘online-store’) echo ‘class=”widepage”‘; ?>>

    in the pages.php file and it errors out on whatever line i put it on.

    Im not sure what to do with :

    #left-div.widepage { width: 930px; }

    is this meant to go into the Style.css file ?

    Thread Starter dra6on

    (@dra6on)

    Ok I’ve located the <div id=”container”> and <div id=”left-div”> location, they are in the Page.php file. Here is a snipet of what the code looks like :

    ?<?php get_header(); ?>

    <div id=”container”>
    <div id=”left-div”>
    <div id=”left-inside”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <!–Start Post–>
    <span class=”single-entry-titles” style=”margin-top: 18px;”></span>
    <div class=”post-wrapper”>

    Now question is .. where and what do i type, I’ve tried entering the code you mentioned :

    <div id=”left-div” <?php if(is_page(200) echo ‘class=”widepage”‘; ?>>

    but it doesnt work. also you mentioned that once you enter this code in you also have to enter this code :

    #left-div.widepage { width: 930px; }

    in the sytles page .. i did that and it doesnt work.

    So if you could please be a little more specific i’d greatly appreciate it.

    So to get it all clear, where do i put the code, exactly what piece of code do i put and does it the other piece of code need to go into the sytles.css page, and where ?

    Thanks for the help

    Thread Starter dra6on

    (@dra6on)

    this is the page in question :

    https://www.capsulecomputers.com.au/online-store/

Viewing 7 replies - 16 through 22 (of 22 total)