Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Y2Neildotcom

    (@y2neildotcom)

    Oddly, that makes it worse!?

    The stylesheet now reads:

    /*
    Theme Name:     Graphene Child
    Theme URI:      http://www.hornetsfc.com
    Description:    Child theme for the Graphene theme
    Author:         Neil Brazier
    Author URI:     http://www.y2neil.com
    Template:       graphene
    Version:        1.0
    */
    @import url("../graphene/style.css");
    /* Your modification goes here */
    
    /*This is a comment*/
    
    #customers
    {
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    font-color: #ffffff;
    width:100%;
    border-collapse:collapse;
    background-image:url('http://www.hornetsfc.com/wp-content/uploads/2013/08/grass_repeat2.jpg');
    background-repeat:repeat-x;
    }
    #customers td, #customers th
    {
    font-size:1em;
    border:0px solid #ffffff;
    padding:3px 7px 2px 7px;
    text-align:center;
    }
    #customers th
    {
    font-size:1.1em;
    text-align:center;
    padding-top:5px;
    padding-bottom:4px;
    background-color:#000000;
    font-color:#ffffff;
    }
    #score
    {
    text-align:center;
    color:black;
    font: bold 36px arial;
    background: #FFFF00;
    }
    #teamname
    {
    color:#ffff00;
    background:#000000;
    font-size:200%;
    }

    The page reads:

    <table id="customers">
    <tr>
      <th colspan=4 align=center>Friendly</th>
    </tr>
    <tr>
    <td><div id="teamname">Hornets FC</div></td>
    <td><div id="score">4</div></td>
    <td><div id="score">0</div></td>
    <td><div id="teamname">GDL Athletic</div></td>
    </tr>
    <tr>
    <td colspan=2>David Jenkinson</td>
    <td colspan=2>Adam Sadler (Booked)</td>
    </tr>
    <tr>
    <td colspan=2>David Jenkinson</td>
    <td colspan=2></td>
    </tr>
    <tr>
    <td colspan=2>David Jenkinson</td>
    <td colspan=2></td>
    </tr>
    <tr>
    <td colspan=2>David Jenkinson</td>
    <td colspan=2></td>
    </tr>
    <tr>
    <th colspan=4 align=center>Played at: Martley</th>
    </tr>
    </table>

    The table appears all squashed and lost all formatting except for the #score sections…

    This would be something I’d be interested in too.

    I want to use the poll to list all the players in my football team and have each player be able to vote for the Player’s Player award.

    However having all 44 players listed in one long list is unsightly and would be much better having a drop down menu style.

    Many thanks,

    Forum: Fixing WordPress
    In reply to: Table Backgrounds
    Thread Starter Y2Neildotcom

    (@y2neildotcom)

    Apologies, I missed that out.

    I have since been able to fix the problem in a fashion. I split the image up into chunks of 100px’s in height, set the <tr> to have a height of 100px and set the background as the image.

    echo "<table width='100%' align='center' valign='top' cellspacing='0' cellpadding='0' border='0'>";
    echo "<tr height=\"100px\" style=\"background: url(http://www.hornetsfc.com/images/fwpitch.jpeg)\">";

    I had to use the style tags in order to get the image to display.

    Many thanks,

    Thread Starter Y2Neildotcom

    (@y2neildotcom)

    Hello again,

    Turns out, I’m rubbish.

    The code wasn’t displaying the posts as I would expect so I threw an echo $postnum in there and all the posts are being numbered as post 1 meaning they’re displaying the same CSS.

    How do I increment the postnum for the following two posts?

    Many thanks,

    Thread Starter Y2Neildotcom

    (@y2neildotcom)

    That’s fantastic, I’ll have a tinker with the CSS and give it a go.

    Thank you for your help!

    Thread Starter Y2Neildotcom

    (@y2neildotcom)

    Certainly, the following is what I use to call the posts. Try to ignore the mess.

    <?php while (have_posts()): the_post(); ?></b>
    
                  <h3><b><?php the_title(); ?></b></h3> by <?php the_author(); ?>
    
                <span class="style6 style2">
                <?php the_excerpt(); ?>
                </span>
                <p class="style6 style2" align="right"><a href="<?php the_permalink(); ?>">Read more...</a>
    
                <span class="style6 style2">
    
                  <?php endwhile; ?>
    
                <p align="left"><a href="archives.php"><< Older Posts</a>

    Many thanks,

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