Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter themort

    (@themort)

    I altered the full-width, checked through the site and noticed the post page seemed larger so I added it to single.php but it didn’t make any difference so I took it back out. This is my single.php file now

    <?php get_header(); ?>

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div <?php post_class(); ?>>
    <?php
    $format = get_post_format();
    if ( $format === false ) {
    $format = ‘format’;
    }
    get_template_part( ‘format’, $format );
    ?>
    <div class=”comments”>
    <?php
    $args = array(
    ‘before’=>'<p class=”paginated”>’,
    ‘next_or_number’ => ‘next’,
    ‘nextpagelink’ => ‘Next Page<span class=”dashicon nextpage” aria-hidden=”true”></span>’,
    ‘previouspagelink’ => ‘<span class=”dashicon prevpage” aria-hidden=”true”></span>Previous Page’
    );
    wp_link_pages( $args );
    ?>
    <?php comments_popup_link( __( ‘Comments (0)’, ‘universal’ ), __( ‘Comments (1)’, ‘universal’ ), __( ‘Comments (%)’, ‘universal’ ) ); ?>

    </div>
    </div>
    <?php endwhile; ?>

    <?php comments_template(); ?>

    <?php else :

    get_template_part( ‘no-posts’ );

    endif; ?>

    <div class=”prev_next”>
    <?php posts_nav_link( ‘ <span aria-hidden=”true”>•</span> ‘, sprintf( __( ‘%s Previous Post’,’universal’ ), ‘<span aria-hidden=”true”>←</span>’ ), sprintf( __( ‘Next Post %s’,’universal’ ), ‘<span aria-hidden=”true”>→</span>’ ) ); ?>
    </div>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thanks
    JC

    Thread Starter themort

    (@themort)

    That does the job – Thanks 🙂

    The News page now has larger text than anywhere else, it might have always done – I not sure. Is there an easy fix for that too?

    JC

    Thread Starter themort

    (@themort)

    Is there something that I can edit in the theme myself to put this right, the site looks odd as it is but it is the only problem so I don’t want to go looking for a different template.

    I don’t have the knowhow to put it right myself but I can easily edit code with directions.

    Thanks
    JC

    Thread Starter themort

    (@themort)

    Hi

    Any idea when this will be put right? I have just done an update and it still has different text sizes

    sorry to nag
    JC

    Did you find a way of doing this, I have the same problem

    Thanks

    Thread Starter themort

    (@themort)

    Thanks for your help, I found

    <div role=”main” id=”content”>

    in both the gallery template files and changed it to

    <div role=”main” id=”content” style=”<?php echo $content_css; ?>width:100%;”>

    and problem now sorted.

    Thread Starter themort

    (@themort)

    Link to gallery page is

    http://www.f11cricket.co.uk/wordpress/ecb-tour-gallery/county-show-dorchester/

    This is what I have added to the custom css

    #content .gallery_box
    {
    width: 100%
    }

    #content .gallery_box_single
    {
    width: 100%
    }

    #content .gallery_box li{
    padding: 10px 10px 0 0;

    float:left; clear: none !important; list-style: none;
    }

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