logo logo
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

logo

Started by AlphaAddict, March 22, 2006, 10:34:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AlphaAddict

Im trying to replace my cpg with a logo image removing the usual 2 lines of text at the top

sofar ive got
body {
        background-image: url("images/gradient.jpg");
        background-attachment: fixed;
        background-position: bottom;
        background-repeat: repeat-x;
        font-family : Arial, Helvetica, sans-serif;
        font-size: 12px;
        margin: 0px;
}
#content {
        margin-right: 21em;
        margin-left: 40px;
        background-color: #eff3f6;
        padding: 1.0em;
        margin-top: 110px;
        margin-bottom:5px;
        border: 1px #eee solid;
}
#header {
        position: absolute;
        top: 0px;
        left: 0px;
        background-image: url("images/logo.jpg");
        background-position: top left;
        background-repeat: no-repeat;
        width : 600px;
        hight : 110px;

but its not showing up and the title of the windows gone
can anyone help me

Joachim Müller

Post a link to your gallery... ::)

AlphaAddict

oh right sorry
www.alphaaddict.net/gallery

Joachim Müller

Undo your stylesheet changes and just comment outbackground-image: url("images/logo.jpg");, edit http://www.alphaaddict.net/gallery/themes/reynolds/template.html, find<h1 id="header">{GAL_NAME}</h1>

<p id="tagline">{GAL_DESCRIPTION}</p>
and replace with<div id="header"><img src="path/to/you/image.jpg" border="0" width="image_width" height="image_height" alt="" /></div>

<div id="tagline"></div>

AlphaAddict

ive changed it now and it seems to be show the image in the template

http://alphaaddict.net/gallery/themes/reynolds/template.html

But its still not showing up in the gallery and the name still isnt showing

Joachim Müller

change<div id="header"><img src="images/Logo.png" border="0" width="image_width" height="image_height" alt="" /></div>to<div id="header"><img src="themes/reynolds/images/Logo.png" border="0" width="image_width" height="image_height" alt="" /></div> - you have to specify relative paths as seen from the coppermine root folder, as the template file get's parsed from there.

AlphaAddict

This is gettiong even weirder , ive changed it if you check the source of teh link above
but its still not showing up .
Ive checked the link to the image

Joachim Müller

works as expected for me - clear your cache.