Drupal Header

3 replies [Last post]
Offline
Joined: 06/16/2010
Hi,I used the code you sent me but its not working correctly. The image appears as an x and the words my page still shows up. Not only that, but it only appears on one page. Portfolio. http://webvideovision.com/Portfolio
<div class="Header-jpeg">
<a href="http://webvideovision.com"><img src="<?php print base_path() . path_to_theme() . '/images/header.jpg'; ?>" />My Page</a>
</div>
CSS
div.Header-jpeg{
position: absolute;
z-index:-1;
top: 0;
left: 0;
width: 920px;
height: 125px;
background-image: url('images/Header.jpg');
background-repeat: no-repeat;
background-position: center center;

}
div.Header-jpeg a{
text-indent: -100em;
overflow: hidden;
display:block;
width: 920px;
height: 125px;
}

philipnorton42's picture
Offline
Joined: 04/04/2010
I notice that you

I notice that you minify the css and js files which mean that any changes won't be available straight away. Have you cleared the cache since you made those changes?

Offline
Joined: 06/16/2010
thanks for replying. I can

thanks for replying. I can send the code to your email if you like. Do you have a code feature on these forums? I didn't know how to post it.


philipnorton42's picture
Offline
Joined: 04/04/2010
I am currently experimenting
I am currently experimenting with different ways to integrate the syntaxhighlighter into the forums along with some form of wysiwyg display. For the time being the wysiwyg is turned off so you can post code using something like the following
{syntaxhighlighter brush:plain\}
// code
{/syntaxhighlighter\}
There are a load of different brushes available, but you will probably want to use things like plain, php, html and css.

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h2> <h3> <h4> <h5> <h6> <pre> <span> <p> <br />
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.