DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-29-2006, 01:03 PM   #1
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,187
Default PHP, link, image -- help!

I have the PHP below in WordPress for a site name/logo and description. I want to replace the text with an image, but I cannot for the life of me figure out how to do it while retaining the spider-readable HTML and the clickable link.
Code:
<h1 id="title">
  <a href="<?php echo get_settings('home'); ?>/" title="
  <?php bloginfo('name'); ?>">
  <?php bloginfo('name'); ?></a> 
</h1>

[. . .]

<p id="description">
  <?php bloginfo('description'); ?>
</p>
Treating the PHP stuff as if it were ordinary HTML (i.e., marking it as a comment) doesn’t work. WordPress retains the space and I lose the link.

Someone suggested using a huge negative margin to move the text out of human sight, but that feels pretty tacky to me.

Right now I am using display: none; for both the H1 and the P text.

Now what? I am sure it will be simple and I will feel like an idiot, but . . .

::

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Avatar is now a link? gary How to Use the Forum 73 08-28-2006 06:20 PM
Image problem, alt, not image dthomsen8 Web Site Building & Maintenance 6 03-21-2006 09:01 AM


All times are GMT -8. The time now is 09:18 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Contents copyright 2004–2019 Desktop Publishing Forum and its members.