coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Crafty Thingz on November 04, 2008, 01:52:50 AM

Title: Hi I need a little help with centering the four links things at the bottom
Post by: Crafty Thingz on November 04, 2008, 01:52:50 AM
okay here is the link

www.craftythingz.co.nz/gallery (http://www.craftythingz.co.nz/gallery)

What I would like to do is to move those four things at the bottom of the page over into the middle.  I've tried various changes to the css style sheet.  But my lack of knowledge is not helping.  Here is the bit of script I have been mucking around with.  Can you please advise what it needs to read.  Cheers thanks very much
#vanity a {
        display:block;
        width:57px;
        height:20px;
        margin: 3px  20px;

}
#vanity img {border:0}
#v_php {float:left;background-image:url(../../images/powered-php.gif);}
#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
#v_mysql {float: left;background-image:url(../../images/powered-mysql.gif);}
#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
#v_css {float:right;background-image:url(../../images/valid-css.gif);}
#v_css:hover{background-image:url(../../images/h_valid-css.gif);}
Title: Re: Hi I need a little help with centering the four links things at the bottom
Post by: phill104 on November 04, 2008, 10:12:53 PM
In your theme.html file you will have a (vanity) token. Put this inside a table or div centred where you want it and that should do the trick.

That is if you want the vanity links. You can turn them off in your config if you wish. It is in the Themes settings.
Title: Re: Hi I need a little help with centering the four links things at the bottom
Post by: Joachim Müller on November 04, 2008, 11:21:32 PM
Upgrade first!
Title: Re: Hi I need a little help with centering the four links things at the bottom
Post by: Crafty Thingz on November 05, 2008, 01:01:53 AM
Guys what upgrade are we talking about.  Ummm bit of novice..what do I upgrade too and how.  Many thanks

that link  www.craftythingz.co.nz/gallery (http://www.craftythingz.co.nz/gallery)
Title: Re: Hi I need a little help with centering the four links things at the bottom
Post by: Joachim Müller on November 05, 2008, 10:03:40 AM
You're running cpg1.4.14, although the most recent stable release currently is cpg1.4.19, so the upgrade I'm talking about is the one you need to perform that will get your coppermine gallery up-to-date. Perform the upgrade as suggested in the docs that come with coppermine. Read the announcement threads for the versions cpg1.4.15, cpg1.4.16, cpg1.4.17, cpg1.4.18 and cpg1.4.19 if you want to find out why it is so important to upgrade. To find out what has changed, read the changelog.
Title: Re: Hi I need a little help with centering the four links things at the bottom
Post by: Crafty Thingz on November 30, 2008, 01:56:30 AM
Upgraded and ready to go on the Vanity Links.
Pardon me for being rather naive.  What are the vanity links for? Are they something that is required because I am using this free source forum? I don't want to remove them if it is taking credit away from someone else's work. If not how do I turn them off. (quote)That is if you want the vanity links. You can turn them off in your config if you wish. It is in the Themes settings.Not sure how to do this.
With that aside, I don't know how to put stuff into a table or div centred. I am going to be changing this classic theme quite a bit to match the rest of the web store. Is this the right place to be asking the questions to achieve these changes.
Here is the link www.craftythingz.co.nz/gallery (http://www.craftythingz.co.nz/gallery) Do I need to start a new thread for different things I'm doing. Firstly I will be putting a thing at the bottom of each page for a top 50 scrapbook site. Is the themes/classic/template.html the right place to put this.  Cheers and thank you in advance.
Title: Re: Hi I need a little help with centering the four links things at the bottom
Post by: Joachim Müller on November 30, 2008, 09:32:14 AM
The vanity links are not required. You turn them off in coppermine's config, see http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#vanity_block
Title: Re: Hi I need a little help with centering the four links things at the bottom
Post by: Crafty Thingz on December 02, 2008, 11:32:28 PM
Thanks Joachim.  Got it done.  I really appreciate the awesome help.  Regards