A new skin - not done

Share your CuteNews.RU skins and code snippets.

Postby Torstein » Thu Aug 26, 2010 7:29 pm

Sure:

in template:
Code: Select all
<p class="sideoversikt">{pages}</p>


CSS
Code: Select all
.sideoversikt a {
                padding: 4px;
                width: 60px;
                margin-right: 5px;
                border:1px solid #09478C;
            }
            .sideoversikt b {
                padding: 4px;
                width: 60px;
                color: #fff;
                background: #09478C;
                margin-right: 5px;
                border:1px solid #09478C;
            }
            .sideoversikt a:hover {
                padding: 4px;
                width: 60px;
                background: #09478C;
                color: #fff;
                margin-right: 5px;
                border:1px solid #09478C;
            }


The theory behind this is simply that an active page in cutenews.ru will be marked by <b></b> instead of <a href=""></a>.

Does not work on front page (1 is not marked as active)
Torstein
 
Posts: 292
Joined: Thu Aug 03, 2006 11:19 pm

Postby marcusmagalhaes » Thu Aug 26, 2010 8:04 pm

Dear Torstein, thank you again for you great support!!! work's great!!!

http://www.sinpojud.org.br/noticias_all.php

Code: Select all
<div class="sideoversikt">{pages}</div>


first page marked as active!!!


Torstein wrote:Sure:

in template:
Code: Select all
<p class="sideoversikt">{pages}</p>


CSS
Code: Select all
.sideoversikt a {
                padding: 4px;
                width: 60px;
                margin-right: 5px;
                border:1px solid #09478C;
            }
            .sideoversikt b {
                padding: 4px;
                width: 60px;
                color: #fff;
                background: #09478C;
                margin-right: 5px;
                border:1px solid #09478C;
            }
            .sideoversikt a:hover {
                padding: 4px;
                width: 60px;
                background: #09478C;
                color: #fff;
                margin-right: 5px;
                border:1px solid #09478C;
            }


The theory behind this is simply that an active page in cutenews.ru will be marked by <b></b> instead of <a href=""></a>.

Does not work on front page (1 is not marked as active)
marcusmagalhaes
 
Posts: 163
Joined: Tue Apr 24, 2007 1:17 pm

Postby Torstein » Fri Aug 27, 2010 1:39 pm

I'm glad it worked for you :)
Torstein
 
Posts: 292
Joined: Thu Aug 03, 2006 11:19 pm

Re: A new skin - not done

Postby nolikewise » Sun Apr 17, 2011 10:19 am

Is there any rar file we can download and try the new skin... the last time i tried it wasn't working. if somebody got the files could you please upload it.
nolikewise
 
Posts: 177
Joined: Mon Dec 17, 2007 8:47 am
Location: Turkiye

Re: A new skin - not done

Postby Hawk » Sat Apr 23, 2011 11:14 am

User avatar
Hawk
 
Posts: 248
Joined: Tue Aug 29, 2006 9:00 pm

Re: A new skin - not done

Postby nolikewise » Thu Jun 30, 2011 11:07 am

thanks HAWK i got it...
nolikewise
 
Posts: 177
Joined: Mon Dec 17, 2007 8:47 am
Location: Turkiye

Previous

Return to Skins and snippets



Who is online

Users browsing this forum: No registered users and 0 guests