Stage 3: Moving thumbnails and text to the center
Makc666
Joined: 2003-12-26
Posts: 78 |
Posted: Mon, 2005-03-07 16:41 | |||
Stage 3: Moving thumbnails and text to the center ================================================ First of all you can make these changes only if you made changes from: After all this changes thumbnails (screenshot #1) will look like on screenshot #3. A lot of changes. And we will edit /layouts/matrix/! ================================================ Stage 1: Stage 2: -----[ OPEN ]------------------------------------------------ /layouts/matrix/templates/local/albumBody.tpl -----[ FIND ]------------------------------------------------ <ul class="giInfo"> <li> {capture name=originationTimestamp} -----[ REPLACE WITH ]------------------------------------------ <ul class="giInfoTitle"> <li> {capture name=originationTimestamp} ================================================ A: By default there are TWO "giInfo" statements in albumBody.tpl After this change we will have two independent blocks.
|
||||
Posts: 78
Stage 3:
You make a copy of:
/templates/layout.css.php
to
/templates/local/layout.css.php
Yes you have to create dirrectory /templates/local/
Stage 4:
================================================
Q: What we made?
A: In Step 3 and Step 4 we created by one more block
for the changed value "giInfo" to "giInfoTitle"
in /layouts/matrix/templates/albumBody.tpl.local
In Step 3 we add a block to default CSS file.
And in Step 4 we add a block which we will change now.
================================================
Posts: 78
Stage 5:
================================================
Q: What we made?
A: We change "text-align: left;" to "text-align: center;"
Now text under thumbnails will be centered. (Screenshot #2 - Green pointer 1)
An text up to the right in the title will be set to "left" (Screenshot #2 - Blue pointer 2)
================================================
Posts: 78
Stage 6:
Now we have to move thumbnails to the center.
================================================
Q: What we made?
A: We add "text-align: center;" line.
Now all thumbnails is centered.
================================================
Stage 7:
Now we have to move thumbnails' titles to the center.
================================================
Q: What we made?
A: We add "text-align: center;" line.
Now all thumbnails' titles are centered.
That it. We get it. Look as screenshot #3
================================================
Posts: 78
Step 8 (BONUS ONE):
If you look at all screenshots, you will see that
Action Select Menu background color is yellow.
I think it is more pritty. Look above at Screenshot #3 - Blue pointer
Here is how I changed it.
================================================
Q: What we made?
A: We changed color "#eee" to "#FFFF80;"
You can your own.
================================================
That it. One more change.
Posts: 78
Some more center steps:
================================================
Q: What we made?
A: We centered comments and summary information.
================================================