-
AuthorPosts
-
jtestguy Friend
jtestguy
- Join date:
- April 2011
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
April 30, 2011 at 7:26 pm #163432Just bought a 1 year JA subscription. I’m a programmer but not a CSS guy so would really appreciate help with this.
Using default T3 template v1.0.3 w/ default, blue, and red profiles & J1.6. Trying to replace demo logo with a 920x100pix background image + a new 350×50 logo (both files are transparent PNG-24). I removed all logo declarations except the one in “templatecsstemplate.css” so the same logo schema works across all profiles.
Q 1: What is the CSS code to overlay the logo on top of a background image?
Q 2: What formatting change will float the Search field in the R.H. side of the header in front of the background image?
Thanks in advance!
Chris
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 30, 2011 at 8:47 pm #389202Hi,
Open <joomla url>/templates/ja_purity_ii/css/template.css file, change bold value to your value
Q1:
– To change background
#ja-header .main {
background: url(../images/header3.jpg) no-repeat right top #333;
height: 79px;
padding: 0;
}
– To change logo
h1.logo a {
background: url(../images/logo.gif) no-repeat left;
display: block;
height: 79px;
width: 207px;
}
Q2: Find this code
#ja-search {
padding-left: 20px;
background: url(../images/icon-search.gif) no-repeat center left;
position: absolute;
bottom: 15px;
right: 15px;
}jtestguy Friendjtestguy
- Join date:
- April 2011
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
April 30, 2011 at 11:14 pm #389216khoand, thanks much for the quick answers which allowed me to get the background and logo images working perfect.
BTW, the search field issue was actually caused by declaring too wide a space for the logo image (the space overlapped the search field).
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 1, 2011 at 4:14 am #389225<blockquote>BTW, the search field issue was actually caused by declaring too wide a space for the logo image (the space overlapped the search field).</blockquote>
Could you give me a link to your website? -
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by khoand 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum