![]() |
![]() |
![]() |
|
|||||||
| Existing Templates Want to adjust logo or center some piece of text in your directory? Get advice on how to do it in this forum dedicated to pre-installed templates. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Nov 2006
Posts: 21
![]() |
How do I get 5 Days to center and be a fixed width? Im new w/ tpl files. I tried changing the header.tpl from <div class="page"> to <div align="center">, but the search box and logo did not center with the rest of the template..
I also tried changing the width in the css file from 100% to 800px. No luck... Any advice? |
|
|
|
|
|
#2 |
|
eSyndiCat Support Team
Join Date: Sep 2006
Posts: 384
![]() |
Hi, mike errico!
In order to move the logo you should: 1) Open the header.tpl file. * Find the following code: Code:
<div class="header"> </div> Code:
<div class="header">
<div class="logo">
<a href="/"><img src="{$img}logo.gif" alt="" title="" /></a>
</div>
</div>
2) Open the style.css file. * Find the following strings: Code:
div.logo
{
position: absolute;
top: 40px;
left: 3px;
}
Code:
div.logo
{
position: relative;
top: 40px;
left: 3px;
}
Move the search box changing the following text in style.css: Code:
div.search-form
{
position: absolute;
top: 128px;
left: 10px;
line-height: 30px;
}
Code:
div.search-form
{
position: relative;
top: 8px;
left: 10px;
line-height: 30px;
}
__________________
Regards, Tilek Eshenaliev eSyndiCat Templates Customizations: just submit a ticket to "Custom Modification Requests"!
|
|
|
|
|
|
#3 |
|
Join Date: Nov 2006
Posts: 21
![]() |
That worked thanks ..
The only thing is that the date and language divs need to be fixed. I tried changing the div.date in the css to relative, didnt work. Something in header.tpl im guessing? |
|
|
|
|
|
#4 | |
|
eSyndiCat Support Team
Join Date: Sep 2006
Posts: 384
![]() |
Quote:
Code:
div.date
{
position: absolute;
width: 700px;
text-align: right;
top: 22px;
color: #000;
line-height: 15px;
font-size: 0.85em;
font-weight: normal;
padding: 0px;
}
Code:
div.lang-switch
{
position: absolute;
margin-left: 184px;
top: 22px;
line-height: 15px;
font-size: 0.85em;
font-weight: normal;
padding: 0;
}
__________________
Regards, Tilek Eshenaliev eSyndiCat Templates Customizations: just submit a ticket to "Custom Modification Requests"!
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|