image display and z-index in header
-
I haven’t used wordpress in years (joomla and drupal)
I picked up a book on the 2013 theme which is long on basics, short on specifics. I also dredged the online topics to try to put this together. I’m trying to get an image to display in the header,I’ve tried this:
=======================================
<body <?php body_class(); ?>>
<div id=”page” class=”hfeed site”>
<header id=”masthead” class=”site-header” role=”banner”>
” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
<div id=”logo”>
<img class=”header-logo” img src=”images/LogoADig.png”/ width=”198″ height=”87″ alt=”ggvasia logo”>
</div>
<div class=”clear”></div>
<h1 class=”site-title”><?php bloginfo( ‘name’ ); ?></h1>
<h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
<div id=”navbar” class=”navbar”>
=============================================
This is from one of those online sources (it looks like it SHOULD work?
and I tried several iterations in the css, such as#header.header-logo {
float:left;
margin-top:5px;
height: 87px;
width: 198px;
z-index: 999;
}
Now I don’t remember, but the class header-logo does not exist in the styles.css file Can one make up there own classes??? based on say, for example #header??but I did try some other things, still the image does not display.
The alt text shows up, it’s in approximately the right position, but no show.
I’ve done many things with z-index before, but I’m not sure that’s the problem. (maybe I just need sleep!)I do not want to use the text widget in the header or the upload image method.
I’d like to try this with a blue bar too, if I can get images to display. The image is in the images directory (2013 theme directory), and this is not a child theme.
Also, I need to change the labels in the comment form, but I don’t see any php template where you can do that?????
help!
- The topic ‘image display and z-index in header’ is closed to new replies.