Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I believe I have the solution you are looking for. I needed the same functionality so… here’s a link to post on my site.

    Classic… you have the non expanding div issue.

    #container is not expanding… it contains #content (float to right) and #sidebar (float to left)

    Firefox does not expand parent div on stuff like these. You need someting like horizontal rule tag right after closing div of #sidebar and before closing div of #container.

    Try first by setting (just for test) the height of #container using css… you’ll see it shows background color white as it should,

    Enyjoy…


    website https://activecodeline.com

    Forum: Fixing WordPress
    In reply to: Can anyone help ?

    Hi there… again…

    index.php from theme folder is the file that renders home page, among other few, this is a sub page, it’s rendered by (if I’m not mistaken) by sinlge.php

    Somewhere inside those files you have <div> order mixed up…

    In index.php goes like:
    <div id=”content”>
    <div id=”post-wrapper”></div>
    <div id=”sidebar-wrapper”></div>
    </div>

    In the other one (as I said my guess is single.php) you have something like:
    <div id=”wrapper”>
    <div id=”content-wrapper”>
    <div id=”content”></div>
    </div>
    <div id=”sidebar-wrapper”></div>
    </div>

    Same id’s diferent nesting of divs… play with that… this is causing your problem on subpages.

    Please provide a link for us. It could be css inheritance problem, or PNG issue or… anything. I’m a full time developer and stuff like these are rather simple to solve with FireBug help.

    p.s. I’m NOT into the money in this case ??

    Just post a link, please.

    langsuyar is most probably right, however if that does not work, give us you site url so we can see the page source.

    Hi there

    #sidebar a:link, #sidebar a:active, #sidebar a:visited {
    text-decoration:none;
    color:white!important;
    }

    /* not necesery */
    #sidebar a:hover {
    text-decoration:underline;
    }

    https://activecodeline.com

    Hi there,

    You could do it like
    IF POST IS FIRST SET SOME CSS STYLE, ELSE DO NOT SET ANY SPECIAL STYLE

    Here is how

    $postcount = 0;
    if (have_posts()) { while (have_posts()) { the_post();
    if( $postcount == 0 ) {
    // SET SOME CSS TO SOME POST WRAPPING DIV ON THE CODE THAT CAN BE THE SAME LIKE THE ONE FROM index.php

    }

    else { HERE YOU CAN COPY PASTE ENTIRE ORIGINAL index.php code }
    $postcount ++; /* counter is in while loop */
    } /* closes while loop */
    } /* closes if $postcount == 0 */
    } /* closes if have_posts() */

    Forum: Fixing WordPress
    In reply to: Can anyone help ?

    You have CSS issues.

    – Remove “width:65%;” from #content-wrapper
    – Add style=”width: 65%; float: left;” to .post-wrapper div

    That’s it…

    Feel free to visit my site https://activecodeline.com. I blog about Magento and WordPress.

Viewing 8 replies - 1 through 8 (of 8 total)