Skin Changer+New skin
3 posters
Page 1 of 1
Skin Changer+New skin
Hi!
I'm making a Skin Selector, so i've made a skin, but i can't get rid of the forum title, and I can't center the banner.
Preview: Click!
Could someone please provide a CSS code for:
-The forum title
-The banner
Thanks!
I'm making a Skin Selector, so i've made a skin, but i can't get rid of the forum title, and I can't center the banner.
Preview: Click!
Could someone please provide a CSS code for:
-The forum title
-The banner
Thanks!
Last edited by Kiekeboe on May 30th 2010, 5:05 pm; edited 1 time in total
Re: Skin Changer+New skin
Hello,
Please try adding this code to your CSS...
I am not sure how accurate is this going to work in IE.
Hope it helps
Please try adding this code to your CSS...
- Code:
.bodyline>table tbody tr td {
text-align : center;
display : block;
}
I am not sure how accurate is this going to work in IE.
Hope it helps
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Skin Changer+New skin
Thanks! That really helped, now it's centered, but I'm afraid that i can't get rid of the forum title? Or could I just remove it from the templates?
Re: Skin Changer+New skin
To remove the forum title just navagate to:
ACP >> General >> Configuration >> delete out the site name
ACP >> General >> Configuration >> delete out the site name
rblatch- Active Poster
- Posts : 1042
Reputation : 2
Language : HTML & CSS (Learning)
Location : Graphics Central
Re: Skin Changer+New skin
Hehe, you're a genius! I just entered somewhere the title tag!
But know i have another question:
[Click on the link in the first post and scroll down to the chat]
The 'categorie' bar is different as the rest, how can i change that, the normal way trough picture change doesn't work.
But know i have another question:
[Click on the link in the first post and scroll down to the chat]
The 'categorie' bar is different as the rest, how can i change that, the normal way trough picture change doesn't work.
Re: Skin Changer+New skin
As a guest, I can't see your chatbox so I can't give you exact solution...
But try adding this code to CSS for category bar background image
But try adding this code to CSS for category bar background image
- Code:
span.cattitle {
padding : 10px;
background : url(image url here) repeat;
}
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Skin Changer+New skin
Thanks! I've entered it in my CSS, and copy+pasted my url.
This is what i'm still getting:
I don't know if there's a CSS code for...
I have one more question:
I've made a skin changer, with this code:
But 'Valeur2' isn't functioning. I've used the temporarly theme's as a link here, and if you copy+paste the link in your browser, it works, but not in the skin changer.
This is what i'm still getting:
I don't know if there's a CSS code for...
I have one more question:
I've made a skin changer, with this code:
- Code:
var type = getCookie('template1');
var temsel = document.getElementById('temsel');
temsel.innerHTML ='<select onchange="changeskin(this.options[this.selectedIndex].value);window.location.reload();"><option> Skin Selector </option><option value="valeur1"> Classic </option><option value="valeur2"> Metallic Darkness </option></select>';
if (type == 'valeur1')
{
document.write('<link rel="stylesheet" type="text/css" href="http://www.dreamhorses.biz/forum.htm">');
}
else if (type == 'valeur2')
{
document.write('<link rel="stylesheet" type="text/css" href="http://www.dreamhorses.biz/forum.htm?change_temp=1">');
}
function changeskin(change) {
var scheme = change;
var name = 'template1';
var pathname = location.pathname;
//var myDomain = pathname.substring(0,pathname.lastIndexOf('/')) +'/';
var ExpDate = new Date ();
ExpDate.setTime(ExpDate.getTime() + (180 * 24 * 3600 * 1000));
setCookie(name,scheme,ExpDate,'/');
}
function getCookie(name){
var cname = name + "=";
var dc = document·cookie;
if (dc.length > 0) {
begin = dc.indexOf(cname);
if (begin != -1) {
begin += cname.length;
end = dc.indexOf(";", begin);
if (end == -1) end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return null;
}
function setCookie(name, value, expires, path, domain, secure) {
document·cookie = name + "=" + escape(value) +
((expires == null) ? "" : "; expires=" + expires.toGMTString()) +
((path == null) ? "" : "; path=" + path) +
((domain == null) ? "" : "; domain=" + domain) +
((secure == null) ? "" : "; secure");
}
But 'Valeur2' isn't functioning. I've used the temporarly theme's as a link here, and if you copy+paste the link in your browser, it works, but not in the skin changer.
Similar topics
» Improved Skin Changer
» Skin Changer
» Skin Changer?
» Skin changer please read and help
» Skin Changer works.
» Skin Changer
» Skin Changer?
» Skin changer please read and help
» Skin Changer works.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum