Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS I need a genius or wizard, Anyone?

  • This topic is empty.
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #102087
    Jon_N
    Participant

    @Senff sorry, you still get the award in my opinion but it’s not showing in IE…go figure. Anyone have any ideas? You can see what it is supposed to look like in Firefox.
    Here’s an example

    #102090
    Senff
    Participant

    First of all, I would resize/reduce the image on that page: http://www.metalmart.biz/wp-content/uploads/2012/05/flyer-special_4.jpg — you really don’t need a 2550×3300 / 4MB image for that.

    Second, if you look in the source code, you’ll see that the image has an empty height (height=””):

    All browsers ignore that error, but IE doesn’t. Not sure how it got there, did you use the standard WordPress image uploader and then removed the height value in the properties window?

    #102093
    Jon_N
    Participant

    @Senff Thanks I didn’t know that about IE. Since you’re so good at this, could you take a look at one more thing for me. If you go to the same site and click the “Specials” button in the header menu, you can see that it doesn’t work either. I think this all happened when I updated the theme a couple weeks ago.

    *EDIT*
    It only shows one post available. I’m not sure what the problem is.

    #102095
    Senff
    Participant

    Can you post the contents of your loop.php file please?

    #102096
    Jon_N
    Participant

    @Senff
    Here it is, I appreciate you helping me, I’m totally a newbie.



    max_num_pages > 1 ) : ?>




    /* Start the Loop.
    *
    * In Twenty Ten we use the same loop in multiple contexts.
    * It is broken into three main parts: when we're displaying
    * posts that are in the gallery category, when we're displaying
    * posts in the asides category, and finally all other posts.
    *
    * Additionally, we sometimes check for whether we are on an
    * archive page, a search page, etc., allowing for small differences
    * in the loop on each template without actually duplicating
    * the rest of the loop that is shared.
    *
    * Without further ado, the loop:
    */ ?>

    ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>

    >

    " title="" rel="bookmark">




    $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
    if ( $images ) :
    $total_images = count( $images );
    $image = array_shift( $images );
    $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
    ?>

    %2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyten' ),
    'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
    number_format_i18n( $total_images )
    ); ?>



    ID ) ) : ?>
    " title="">
    |

    " title="">
    |


    | ', '' ); ?>

    ID ) ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?>

    >


    →', 'twentyten' ) ); ?>



    |

    | ', '' ); ?>

    >

    " title="" rel="bookmark">


    →', 'twentyten' ) ); ?>
    '

    ' ) ); ?>




    Posted in
    %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>

    |

    $tags_list = get_the_tag_list( '', ', ' );
    if ( $tags_list ):
    ?>

    Tagged
    %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>

    |


    | ', '' ); ?>

    #102097
    Jon_N
    Participant

    Sorry it was too long to include in one post, here’s the rest.



    max_num_pages > 1 ) : ?>


    #102111
    Jon_N
    Participant

    I am not great with PHP yet

    #102151
    Jon_N
    Participant

    @Senff thanks again for your help. I found the other problem. It was in my category-7.php it took a while to figure out but it was just a matter of deleting the same text as from the single-specials.php so thanks for your help.

    #102160
    Senff
    Participant

    Anytime, glad you got it all working now!

Viewing 9 posts - 16 through 24 (of 24 total)
  • The forum ‘CSS’ is closed to new topics and replies.