• Resolved dedalusjmmr

    (@dedalusjmmr)


    Hi,

    I think I have found a small bug in the frontpage php file.
    That makes the 4 columns (when there is enough width to display the pulldown menu) start only after the menu items, shifted a bit to the right. (If there are many menu items, this means having only half of the width or less.)

    As it didn’t happen in category pages, i looked at the code and made a patch.
    Instead of

    <?php
    get_header();
    if(have_posts()) :
    get_template_part(‘content’, ‘postlist’);
    else :
    get_template_part(‘content’, ‘none’);
    endif;
    get_footer();
    ?>

    now I have

    <?php
    get_header();
    if(have_posts()) :
    ?>
    <div id=”post”></div>
    <?php
    get_template_part(‘content’, ‘postlist’);
    else :
    get_template_part(‘content’, ‘none’);
    endif;
    get_footer();
    ?>

    and everything works fine for me.

    I am not a programmer, so I don’t have a way to post these changes in github.
    Please tell me if this is a good way to solve the bug. It wors for me. ??

    Cheers,
    Jorge Rosa

Viewing 15 replies - 1 through 15 (of 19 total)
  • Theme Author Michael Kloepzig

    (@michael-kloepzig)

    can you provide some details about your setup? which operating system and browser appeared the bug on?

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    Win 7, in Firefox.

    Theme Author Michael Kloepzig

    (@michael-kloepzig)

    sorry if this is too much work, but could you remove your patch and provide a link to the corrupted page? i can’t reproduce that bug anywhere.

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    Yes, sure.

    It’s at https://dedalusjmmr.net/newborn/

    Absolutely fine with Chrome, but buggy with Firefox (and IE).
    I have just updated to 1.0.5., by the way.

    Theme Author Michael Kloepzig

    (@michael-kloepzig)

    I have just updated to 1.0.5., by the way.

    And the bug still occurs? I still can’t reproduce it on any browser I have.

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    Yes, it still occurs — only in Firefox (IE was already fine; I misplaced the mention in the last post) and only in Win7 (x64). With Firefox (same version) but in Win XP everything is fine (don’t have a machine with Vista or Win8 at hand).

    Getting weird.

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    PS: Added a link to a screenshot (just scroll a bit down; the background color is the same between page and screenshot, bu I believe it’s easy to see what’s happening)

    https://dedalusjmmr.net/newborn/uncategorized/bugtest/

    Theme Author Michael Kloepzig

    (@michael-kloepzig)

    which version of firefox is this? (check the help menu, “about firefox”)

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    Latest version: 24.0

    Theme Author Michael Kloepzig

    (@michael-kloepzig)

    Weird, that’s exactly my setup.

    One last idea:
    Instead of adding that div, as you wrote in your first post, edit content-postlist.php, first line:

    <div id=”post-list” class=”clear”>

    and see if that does anything.

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    Nope. Same result. ??

    Theme Author Michael Kloepzig

    (@michael-kloepzig)

    Another try:
    Edit /wp-content/themes/fluxipress/js/init.js
    Find at the end:
    console.info(numFooterWidgets);
    and remove this line.
    Save, upload & clear browser cache (ctrl+shift+del) and reload the page. *crosses fingers*

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    No results, but at least nothing else breaks.
    Tried also with all extensions disabled, but no improvements.

    I think I’ll just give up. All is perfect in every other browser and configuration, except in this one.

    I’m pretty sure some other iteration of the browser will bring the correct rendering back.
    Anyway, many thanks for all the trouble and time spent. I’ll keep checking if you release some other theme; this is perfect for my personal website, another one mught be perfect for some other thing.

    Cheers,

    Theme Author Michael Kloepzig

    (@michael-kloepzig)

    Sorry I couldn’t help. Stay subscribed to this thread, i’ll let you know when I find out anything to resolve this issue.

    Thread Starter dedalusjmmr

    (@dedalusjmmr)

    I will ??

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘In frontpage, columns start shifted to the right of the menu’ is closed to new replies.