gkp99
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How do I put jQuery code in an external file in WordPress theme?Thanks, that’s the link I needed.
Forum: Fixing WordPress
In reply to: Fatal error following automatic upgradeThanks esmi – that worked a treat. For anyone else reading this, make sure to backup your database and disable any funny plugins you may have first!
Forum: Fixing WordPress
In reply to: Fatal error following automatic upgradeThanks for the response esmi.
I’ve disabled plugins with phpMyAdmin and renamed all theme folders except twenty ten to no avail.
I get the same error if I visit wp-admin/upgrade.php. Do I need to download a fresh copy of that file?
Forum: Themes and Templates
In reply to: CSS font-size problem driving me nuts!You are a genius!
I’m such a doofus – I simply cut-and-paste some filler text into my test blog and the formatting was in the copy & paste.
Thank you ??
Forum: Themes and Templates
In reply to: CSS font-size problem driving me nuts!Thanks for your help so far EMG.
I have removed the .post class (it was never being used).
The problem seems to be in <?php the_content() ;?>
I’ve altered index.php and removed the .entry div. It now reads:
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <?php comments_popup_link('{0}', '{1}', '{%}', 'comment-number'); ?> <p>Test</p> <p><?php the_content(); ?></p>
In my stylesheet I have the following:
.post-long p{ font-family: helvetica, arial, clean, sans-serif; font-weight: normal; line-height: 1.8em; font-size: 1.3em; }
The word ‘Test’ is formatted correctly but the post content (i.e. what is being supplied by the_content) is not being formatted correctly. When I look at the source of my page (sorry – it’s a local copy) I get this HTML:
<div class="post-long" id="post-9"> <h2><a href="https://localhost:80/2009/07/long-post/" title="Long Post">Long Post</a></h2> <a href="https://localhost:80/2009/07/long-post/#respond" class="comment-number" title="Comment on Long Post">{0}</a> <p>Test</p> <p><p style="text-align: justify; font-size: 11px; line-height: 14px; margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; padding: 0px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc quis mauris sit amet justo volutpat tincidunt sit amet et mauris. Sed pulvinar lectus eu lectus elementum ultrices quis vel neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi et gravida mi. Fusce tincidunt magna ultricies velit rhoncus ut blandit turpis cursus. Maecenas id lacus lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec hendrerit sodales volutpat. Nulla in nunc a tortor tristique luctus vel ac mi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In eget ligula nec risus porta gravida sit amet eu diam. Sed a nisl nec sem tincidunt varius sed id turpis. Fusce venenatis viverra urna, eget pharetra orci convallis vel.</p> <p style="text-align: justify; font-size: 11px; line-height: 14px; margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; padding: 0px;">Etiam ullamcorper porta nisl, quis elementum risus semper eleifend. Quisque vel quam mauris, vel suscipit elit. Cras feugiat pharetra eros eget volutpat. Vivamus ut arcu est, non viverra diam. Nunc dui arcu, condimentum quis ultricies eu, tempor sed orci. Proin egestas urna eget tellus sollicitudin fringilla. Suspendisse sit amet urna lacus. Vivamus viverra interdum congue. Suspendisse malesuada ligula vel mi faucibus non porta purus placerat. Morbi aliquet elit quis nisl dictum lacinia. Nulla facilisi.</p> <p style="text-align: justify; font-size: 11px; line-height: 14px; margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; padding: 0px;">Donec hendrerit augue sit amet tellus suscipit porta. Fusce massa arcu, auctor nec fermentum vitae, semper sed velit. Aenean eu lectus dolor. Praesent et ante lectus. Proin eget eros vel sem commodo euismod vitae nec dui. Curabitur venenatis metus eget massa varius tempor. Aliquam volutpat, purus nec venenatis luctus, ipsum leo posuere mi, eget euismod mauris ipsum porttitor metus. Phasellus tempus, sapien eleifend ullamcorper faucibus, est augue rhoncus nisl, id interdum turpis elit at elit. Aenean volutpat, magna et volutpat placerat, felis odio suscipit quam, id porttitor nisl odio vel diam. Suspendisse molestie commodo tellus, non venenatis leo ornare in. Donec non magna velit. In suscipit vehicula ultrices. Curabitur erat neque, fermentum in lobortis in, volutpat sit amet lorem. Pellentesque tristique magna a augue posuere auctor.</p> </p> </div>
It looks like the text from the_content is being styled but I don’t know by what!
Garry
Forum: Themes and Templates
In reply to: CSS font-size problem driving me nuts!There is no post class that’s being used – all the entries are post-long, post-video or post-short.
Doesn’t seem to make a difference.
Garry
Forum: Fixing WordPress
In reply to: Handling the iPhoneThanks,
I am relativeky new to CSS – how does the display:none thing work? It sounds like what I’m after.
Garry,