Trying to customize "classic" theme to my specs, need some CSS advice Trying to customize "classic" theme to my specs, need some CSS advice
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Trying to customize "classic" theme to my specs, need some CSS advice

Started by mrsleep99, July 28, 2007, 01:42:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrsleep99

Hey everyone,
I'm customizing the "classic" theme to look how I want it. I'm interested in giving the main table "rounded" corners, or in another words, corners that are curved instead of sharp 90 degree corners. I know to do this I need 4 images (one image for each respective corner) that will be "super imposed" so to speak over the table to make it appear as if there are rounded corners. I also know I need to, naturally, add the CSS code to say where each "corner" will go. This is one of the many links I've been using to help me ( http://www.sitepoint.com/article/css-round-corners-boxes-curves ). It's after the CSS part that I get confused. What do I do? Do I add the <div class="bl"></div> etc. tags to the "template.html"? Do I edit something else?

Additionally, I was wondering if it is possible to make a search field on the main page and have it so it isn't required that users click "Search" to go to the search page/field.

Any help would be greatly appreciated, thanks so much!!  :D ;D

mrsleep99

I got the search field part figured out! Still stuck on the corners though

Joachim Müller

Coppermine's core layout is table-based (which is considered to be deprecated and should be avoided in the future), so the method discussed in the article you refered to can comparatively easily be applied if you code a page by yourself. Applying the method they suggest to the table-based coppermine layout is much harder. I'm afraid that with applying extreme hacks to coppermine's core files you will not be able to use the method suggested in the article you refered to.
I suggest doing this in the traditional way (with less CSS and more "traditional" wrapping stuff into tables). I suggest looking at the functions starttable and endtable (defined in themes/yourtheme/theme.php) first.
As a first step I suggest you show what you already have by posting a link to your gallery.