Viewing 7 replies - 1 through 7 (of 7 total)
  • not sure why that doesn’t work (actually, isn’t the_title part of the_excerpt?) , but you could try;

    <h2><?php the_title();?></h2>
    <p><a href="<?php the_permalink(); ?>">read more:</a></p>

    Thread Starter biggupp

    (@biggupp)

    Thx. Will do when the host srvr is online again.

    Thread Starter biggupp

    (@biggupp)

    Ah, yes. Much improved. But needs to black font on the blue background. Not sure what I deleted that would cause this.
    The present code is:


    <!– Top Content –>
    <div id=”globalcontent”>
    <h1><font color=”#FFFFFF”>New Events Coming Soon</font></h1>

    <h2><?php the_title();?></h2><p> read more…</p>

    </div>

    Maybe cause it’s late and I need sleep. Thx again.

    just change #FFFFFF to #000000
    ??

    Thread Starter biggupp

    (@biggupp)

    Didn’t work. What else can I look at? Can’t quite figure what I am missing in the style sheet.

    which fonts are you trying to change? do you want all white fonts on blue background to be black?
    menu fonts:

    #navMenu a {
        color: #000000;
       }

    meet the owners:

    #globalcontent h1 {
            color: #000000;
      }

    however, “wellness becomes you” is only identified as:

    a {
        color: #000000;
        text-decoration: none;
    }

    and is not effected by the #000000

    So there’s #FFFFFF html in the template over riding your css for this.

    You still have FFFFFF in the html font element for the “new events” according to the Safari Web Inspector. You really should not be using <font>, it’s been deprecated since HTML 4.0. You should be using the CSS that deep bevel suggested.

    /peter

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Show Title Only using 'the_excerpt()'’ is closed to new replies.