TonyB67
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Problems with replacing h1 tagI do esmi
this is the css:h1#logo{ width: 298px; height: 113px; /*text-indent: -9999px;*/ /*background: url(images/logo.jpg)no-repeat;*/ }I did that to get the image to show up, if I don’t have a background set , I get a missing image in chrome and the h1 shows up in ff but not the image.??
Forum: Themes and Templates
In reply to: Problems with replacing h1 tagHere is the code:
<body <?php body_class(); ?>> <header> <div class='center'> <h1 id='logo'> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src='wp-content/themes/halfway-v-2/images/logo.jpg' alt="<?php bloginfo('name'); ?>" /></a> </h1> <h2><?php bloginfo( 'description' ); ?></h2>Forum: Themes and Templates
In reply to: Problems with replacing h1 tagI am doing this locally
would it help if I ran it live, but you can’t see my php.
seems like it is not finding the image, shows up fine on the homepage
(this is a static front page )Forum: Themes and Templates
In reply to: Problems with replacing h1 tagSo if I don’t use the text-indent and the background url in the css than I get a missing image icon where the h1 should be?
Here is the the link http://wordpress.org/support/topic/problems-with-replacing-h1-tag?replies=1#post-2824525
I am developing locallyI am having a problem where I am replacing the h1 tag with an image like this:
[Munged code removed. Please post code or markup snippets between backticks or use the code button.]
which works for my homepage but now all the other pages are showing a missing image icon where the h1 is suppose to be.
My other solution was to use text-indent and replace with the image but then I lose the ability to link back to homepage with the image?This is my first custom theme from scratch and everything is going fine except for this 🙁
Forum: Fixing WordPress
In reply to: Using @font-face in wordpress.orgI am new and having the same problem with the @font-face rule, I don’t know where to install the fonts, is it right in the folder where my theme resides ? Font’s are showing up in Chrome and Safari (I am working on a MAMP stack) but not in Firefox