Stylesheet Trouble

barrymcgee

Joined: 2007-05-10
Posts: 8
Posted: Thu, 2007-05-10 21:40

Hi all,

Like many I'm trying to get Gallery to slot into my site and I've run aground...

I'm using the galleryindex.php embed that someone kindly posted in another thread and have it working to an extent. You'll see here that my gallery works fine here;

http://tinyurl.com/2noxud

Yet when I try to view it through the galleryindex.php page, it messes up somewhat...

http://tinyurl.com/2u36lu

Here I have a few problems;

-Some gallery text changes to black which can't be read against the black background...
-The size of some of the text has changed above the gallery so that's its inanely small...
-The logo image has appeared which doesn't seem to e in the original version
-Although I have specified a margin around the div gallery, it seems to act as padding as the background colour continues all the way up thus overlaying my page background as specified in my css with I have inline in the galleryphp file..

I hope that makes sense and that some kind soul will give me 5 minutes to take a wee look at it.

Many thanks,

Barry

---------------
http://www.nidesigners.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2007-05-10 22:24

I personally use carbon myself, but I removed most of the color from it so mysite would show through.
the css in question would be gallery2/themes/carbon/theme.css
and to remove the logoplaceholder, look to gallery2/themes/carbon/templates/theme.tpl

Also, I added places for your own site's css, and javascript - that you left in:
<!-- Your Style Sheet -->
<link rel=StyleSheet href="Your Site.css" type="text/css" media="screen">
<!-- Your Javascripts -->
<script language="JavaScript" src="Your Site.js"></script>

-s
FlashYourWeb and Your Gallery

 
barrymcgee

Joined: 2007-05-10
Posts: 8
Posted: Fri, 2007-05-11 01:15

Thats great, I'm nearly there now..I just need to figure out how to get rid of the;

Gallery
This is the main page of your gallery
Date: 22/04/07

...from the front page. I can't find it in theme.tpl, have you any ideas?

Thank you very much for your time and help, its greatly appreciated!

---------------
http://www.nidesigners.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2007-05-11 01:20

edit album->general
Gallery - is the default title of a new install
This is the main page of your gallery - is the default description of a new install
-s
FlashYourWeb and Your Gallery

 
barrymcgee

Joined: 2007-05-10
Posts: 8
Posted: Fri, 2007-05-11 01:32

Ah yes...I see!

However, it is possible to remove the php code from a template so that this details is not displayed at all?

Many thanks!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2007-05-11 01:48

Umm.. album.tpl around line 62 <div class="gsContentDetail">

-s
FlashYourWeb and Your Gallery

 
barrymcgee

Joined: 2007-05-10
Posts: 8
Posted: Fri, 2007-05-11 13:18

Got it, many thanks for your help!

---------------
http://www.nidesigners.com

 
barrymcgee

Joined: 2007-05-10
Posts: 8
Posted: Fri, 2007-05-11 13:27

Ok, sorry, I have one more niggly question...You'll see here;

http://tinyurl.com/2noxud

...that when I pull the side bar in, it sits just outside the black box, how could I get it to slide in an extra 150px? I know its a value in the .js file but I can't for the life of me figure out where!

Last question, I promise! :)

---------------
http://www.nidesigners.com

 
barrymcgee

Joined: 2007-05-10
Posts: 8
Posted: Sun, 2007-05-13 17:47

I just noticed that I have big problems in IE...

http://tinyurl.com/2u36lu

The text changes to black and the point size is way too big, added to the that, it cuts out half the page!!

HELP!!

---------------
http://www.nidesigners.com