tweaks to my layout

mikeflc

Joined: 2011-04-19
Posts: 7
Posted: Thu, 2011-04-21 21:37

just reinstalled G2 and basically have the layout how I want it, besides some minor tweaks.

wondering the best way to shrink the gallery width to say 70%, while keeping my header unchanged (as in can I put a div somewhere or set left/right margins).

if you look at the pic or use the link, you will see the album name shows twice, I'd like to remove the upper one in black, but I can't seem to find it in the .tpls

those are my main bothers right now, i think I can get through the rest on my own, thanks

http://www.floridalc.com/gall2/main.php

edit to add: forgot to mention this is essentially the matrix theme

AttachmentSize
Screenshot-Florida Liquidation Center | Inventory - Mozilla Firefox.png204.01 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2011-04-21 22:28

Looks like you'd done just what you're asking for
____________________________________________
Like Gallery? Like the support? Donate now!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2011-04-21 22:34

Great Job!

1. The album name in green can be changed/removed in each album in "Edit Albums -> General -> Title". The upper one in black is the breadcrumb which is switched on or off in "SiteAdmin -> Themes".
2. To do what you want with the gallery, look in your theme.tpl for the following:
a. <div {g->mainDivAttributes}> - Edit this to be <div {g->mainDivAttributes}><div class="YOURCHOICEOFNAME">
b. <div class="footer"> - Edit this to be </div><div class="footer">
c. Add YOURCHOICEOFNAME as a class in your css file and style as you wish

There is also the option of using a tool for embeding G2 developed by one of the members here although it looks like you have done the main job.

--
dakanji.com

 
mikeflc

Joined: 2011-04-19
Posts: 7
Posted: Thu, 2011-04-21 22:52
Quote:
The upper one in black is the breadcrumb which is switched on or off in "SiteAdmin -> Themes"

sorry I don't see the option to turn off that breadcrumb

Quote:
b. <div class="footer"> - Edit this to be </div><div class="footer">

not sure what you mean here, did I forget to close a div somewhere?, theres no highlighting in the editor i'm using right now so there may be some of that

yea I did get the table width part covered, thanks so far

edit:

Quote:
<div {g->mainDivAttributes}> - Edit this to be <div {g->mainDivAttributes}><div class="YOURCHOICEOFNAME">

I think I'm accomplishing this another way, admittedly your way seems better

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2011-04-21 23:03
Quote:
sorry I don't see the option to turn off that breadcrumb

I don't use matrix theme so it might not be an option with that theme.
The Smarty '{g->block type="core.BreadCrumb"}' is what renders the breadcrumb. Look in theme.tpl.

Quote:
not sure what you mean here, did I forget to close a div somewhere?

No. I suggested that you open a new div "<div class="YOURCHOICEOFNAME">" earlier which needs to be closed. I suppose the order in which you listed your queries/points explains the confusion.

--
dakanji.com

 
mikeflc

Joined: 2011-04-19
Posts: 7
Posted: Thu, 2011-04-21 23:19

ah that was her, thanks a bunch.
I think I can handle the rest now though I may come back later if i can't fix the slight formatting difference in my gallery header compared to the header in the rest of the site.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2011-04-21 23:25

The embed tool linked earlier will ensure all common parts are consistent.

--
dakanji.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2011-04-21 23:32
 
mikeflc

Joined: 2011-04-19
Posts: 7
Posted: Thu, 2011-04-21 23:38

I had tried the embed tool before I started, but I did something wrong and it didn't work, though I didn't really try hard because I feel like I learn more this way. I may give it another go.