Style Switcher
Current time: 07-02-2012, 11:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My First Theme
02-03-2008, 07:42 PM (This post was last modified: 02-03-2008 07:43 PM by Mc Cabe.)
Post: #1
My First Theme
So, I thought I might make my first theme after the trouble I had before, and I came up with this concept:

[Image: f_psparodym_1b13476.png]

And here is what it looks like:

http://www.psparody.com/forum/index.php

(Its not my default theme because its not finished, so just change the theme to NITEO)

So my main problems are getting the nav bar to look correctly. I am unsure why there are gaps. I also want the image to change to a blue glow when the mouse is hovered over it.

I also would like to have the welcome panel like it is on your site, in the top right.

Any help is most appreciated.

Mc Cabe

[url=http://mccabe1991.freeweb7.com/forum/index.php][img]http://img29.picoodle.com/img/img29/4/2/5/f_PSParodysigm_c7294d7.gif[/img][/url]
Please feel free to visit my site, PSParody! :D

Find all posts by this user
Quote this message in a reply
02-03-2008, 08:40 PM (This post was last modified: 02-03-2008 08:42 PM by ivgeo.)
Post: #2
RE: My First Theme
1. toplinks problem
In Additional css add/change this if you don't have already
Code:
.menu li {
    display: inline;
    padding-left: 5px; /*CHANGE TO 0px*/
}

.menu img {
    padding-right: 5px; /*CHANGE TO 0px*/
    vertical-align: top;
}

2. For that you need "hover" pseudo-class
You could rewrite your toplinks to something like this Simple Navigation with CSS Image Replacement

3. from what I can see you have done it, welcome block is in the top right of your header.
You can edit, so that current time goes above hello there
Code:
<!-- start: header_welcomeblock_guest -->
    <span style="float:right;"><strong>Current time:</strong> 03-02-2008, 06:22 PM</span>
        Hello There, Guest! (<a href="http://www.psparody.com/forum/member.php?action=login">Login</a> &mdash; <a href="http://www.psparody.com/forum/member.php?action=register">Register</a>)
<!-- end: header_welcomeblock_guest -->
to this
Code:
<!-- start: header_welcomeblock_guest -->
    <strong>Current time:</strong> 03-02-2008, 06:22 PM<br />
        Hello There, Guest! (<a href="http://www.psparody.com/forum/member.php?action=login">Login</a> &mdash; <a href="http://www.psparody.com/forum/member.php?action=register">Register</a>)
<!-- end: header_welcomeblock_guest -->

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
02-03-2008, 09:46 PM
Post: #3
RE: My First Theme
Sweet! thanks for all that IV Geo Smile

I will try some of that stuff now

thanks

[url=http://mccabe1991.freeweb7.com/forum/index.php][img]http://img29.picoodle.com/img/img29/4/2/5/f_PSParodysigm_c7294d7.gif[/img][/url]
Please feel free to visit my site, PSParody! :D

Find all posts by this user
Quote this message in a reply
02-03-2008, 09:48 PM
Post: #4
RE: My First Theme
Very nice.

I like the layout of the preview, sadly I couldn't see your live board because it has a MySQL error: 1040. (too many connections)

Although keep it up!
~Joey
Find all posts by this user
Quote this message in a reply
03-03-2008, 09:39 PM (This post was last modified: 03-03-2008 09:39 PM by Mc Cabe.)
Post: #5
RE: My First Theme
Ahhh!! I need help IV Geo. I managed to put all the text in the top right Big Grin but the CSS menu is too tricky Sad. I tried the first tut you posted and it didnt work Sad. Could you give me any more clues as to what i put in the CSS box at the bottom. I have made the one big image.

Any help is much appreciated!

Mc Cabe

p.s Im going mental over the menu arrghh!!

[url=http://mccabe1991.freeweb7.com/forum/index.php][img]http://img29.picoodle.com/img/img29/4/2/5/f_PSParodysigm_c7294d7.gif[/img][/url]
Please feel free to visit my site, PSParody! :D

Find all posts by this user
Quote this message in a reply
04-03-2008, 09:06 AM
Post: #6
RE: My First Theme
Can you post your code for the navigation menu. And images you want to use...

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
04-03-2008, 10:00 AM
Post: #7
RE: My First Theme
the nav bar im using is attached:

as for the code I will show you later the two attempts that I tried, but for now I have to go to school Sad. However, if you could show me the CSS I would put for just one item in a list that would be great.

thanks Big Grin

Mc Cabe


Attached File(s) Thumbnail(s)
5 views26.93 KB

[url=http://mccabe1991.freeweb7.com/forum/index.php][img]http://img29.picoodle.com/img/img29/4/2/5/f_PSParodysigm_c7294d7.gif[/img][/url]
Please feel free to visit my site, PSParody! :D

Find all posts by this user
Quote this message in a reply
04-03-2008, 01:59 PM
Post: #8
RE: My First Theme
something like this could work
HTML
Code:
<div id="main-nav">
    <ul>
        <li><a href="#" class="home"><span>Home</span></a></li>
        <li><a href="#" class="forum"><span>Forum</span></a></li>
        <li><a href="#" class="search"><span>Search</span></a></li>
        <li><a href="#" class="memberlist"><span>Memberlist</span></a></li>
        <li><a href="#" class="calendar"><span>Calendar</span></a></li>
        <li><a href="#" class="help"><span>Help</span></a></li>
        <li><a href="#" class="myplaza"><span>Myplaza</span></a></li>
        <li><a href="#" class="downloads"><span>Downloads</span></a></li>
    </ul>
</div>
CSS
Code:
#main-nav {
    height: 31px;
    margin: 0 auto;
    background: #ffffff url(navbar.png) no-repeat;                 
}


#main-nav ul {
    border: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    clear: left;
}

#main-nav ul li {
    display: block;
    float: left;
    text-align: center;
    padding: 0;
    margin: 0;
}

#main-nav ul li a span {
    display: none;
}


#main-nav ul li a {
    height: 31px;
    margin: 0;
    padding: 0;
    display: block;
        
}

/* -- Links -- */

#main-nav ul li a.home {
    width: 54px;
}
#main-nav ul li a.forum {
    width: 69px;
}
#main-nav ul li a.search {
    width: 74px;
}
#main-nav ul li a.memberlist {
    width: 96px;
}
#main-nav ul li a.calendar {
    width: 86px;
}
#main-nav ul li a.help {
    width: 57px;
}
#main-nav ul li a.myplaza {
    width: 82px;
}
#main-nav ul li a.downloads {
    width: 146px;
}

/* -- Hovers -- */

#main-nav ul li a:hover {
    background-image: url(navbar.png);
}

#main-nav ul li a.home:hover {
    background-position: 0px -31px;
}
#main-nav ul li a.forum:hover {
    background-position: -54px -31px;
}
#main-nav ul li a.search:hover {
    background-position: -123px -31px;
}
#main-nav ul li a.memberlist:hover {
    background-position: -197px -31px;
}
#main-nav ul li a.calendar:hover {
    background-position: -293px -31px;
}
#main-nav ul li a.help:hover {
    background-position: -379px -31px;
}
#main-nav ul li a.myplaza:hover {
    background-position: -437px -31px;
}
#main-nav ul li a.downloads:hover {
    background-position: -518px -31px;
}

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
04-03-2008, 08:52 PM
Post: #9
RE: My First Theme
woah WOW! you did it for me THANKS! Big Grin

seems to have a few bugs though. The hover links work though. I will try to fix myself....

http://www.psparody.com/forum/index.php

[url=http://mccabe1991.freeweb7.com/forum/index.php][img]http://img29.picoodle.com/img/img29/4/2/5/f_PSParodysigm_c7294d7.gif[/img][/url]
Please feel free to visit my site, PSParody! :D

Find all posts by this user
Quote this message in a reply
04-03-2008, 10:00 PM (This post was last modified: 04-03-2008 10:01 PM by ivgeo.)
Post: #10
RE: My First Theme
What bugs?
I tested it and it worked fine.

working example attached at the bottom of this post
put those 3 files in the same folder, and run menu.html


Attached File(s) Thumbnail(s)
5 views26.93 KB

.html  menu.html (Size: 957 bytes / Downloads: 0)
.css  menu.css (Size: 1.43 KB / Downloads: 0)

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: