The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Skin Changer+New skin

3 posters

Go down

Skin Changer+New skin Empty Skin Changer+New skin

Post by Kiekeboe May 29th 2010, 11:21 am

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!


Last edited by Kiekeboe on May 30th 2010, 5:05 pm; edited 1 time in total
Kiekeboe
Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Skin Changer+New skin Empty Re: Skin Changer+New skin

Post by ankillien May 29th 2010, 12:27 pm

Hello,

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 Very Happy
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Skin Changer+New skin Empty Re: Skin Changer+New skin

Post by Kiekeboe May 29th 2010, 10:53 pm

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?
Kiekeboe
Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Skin Changer+New skin Empty Re: Skin Changer+New skin

Post by rblatch May 29th 2010, 11:12 pm

To remove the forum title just navagate to:

ACP >> General >> Configuration >> delete out the site name
rblatch
rblatch
Active Poster

Male Posts : 1042
Reputation : 2
Language : HTML & CSS (Learning)
Location : Graphics Central

Back to top Go down

Skin Changer+New skin Empty Re: Skin Changer+New skin

Post by Kiekeboe May 29th 2010, 11:17 pm

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.
Kiekeboe
Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Skin Changer+New skin Empty Re: Skin Changer+New skin

Post by ankillien May 30th 2010, 4:03 am

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

Code:
span.cattitle {
padding : 10px;
background : url(image url here) repeat;
}
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Skin Changer+New skin Empty Re: Skin Changer+New skin

Post by Kiekeboe May 30th 2010, 8:47 pm

Thanks! I've entered it in my CSS, and copy+pasted my url.
This is what i'm still getting:
Skin Changer+New skin 154yal1
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.
Kiekeboe
Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum