[Theme] Loon Themes for SMF 1.0.x and 1.1 RC1 + RC2

Started by Mystica, January 02, 2005, 04:25:24 AM

Previous topic - Next topic

Mystica

The forum looks really good :)
You could try fixing the render problem with changing the classes in index.template.php. The div that contains the logo has the class "headerbodies", delete the class from the div and add it to the img, that should fix it.
~ there's nothing wrong with me, this is how I'm supposed to be ~

CountryLady

I'm so sorry, Mystica, but I'm so new to all this stuff,
and I'm stumbling a lot. Old age will do that to ya.

I've done a little with the index.template, but I don't
understand about the classes and how to put it in the
img.

Getting this straight will help me fix three SMF boards.
I have the one I mentioned, plus a workboard and as
of the wee hours this morning, my tech support and I
converted my big board over... flawlessly. I AM THRILLED.

I'll try to pick it up quickly if you'll please help me understand
what I need to do.

Many thanks.


Mediman: Thank you for sharing that, but I wouldn't have
a clue as to what to do about it in CSS. Thanks anyway. :D



Mystica

Everyone is starting at some point ;) The code should be on line 229 in index.template.php. Change this:

<div class="headerbodies" style="border:0px; width: 440px; position: relative;">
<img src="', $settings['images_url'], '/logo.jpg" width="440" alt="" />


to this:

<div style="border:0px; width: 440px; position: relative;">
<img src="', $settings['images_url'], '/logo.jpg" class="headerbodies" width="440" alt="" />


This should fix the render problem.
~ there's nothing wrong with me, this is how I'm supposed to be ~

CountryLady


CountryLady

WooooRaaaay... It worked like a charm.

Thank you very much, Mystica.

Now I'm getting brave... :) Is there any way I can put a Menu Bar* in the 'below' section of the template to save on scrolling up and down?

*By Menu Bar I mean the one with "Home, Help, Search, Admin, Profile, Calendar, Logout" OR a straight line version of the location 'tree', plus an ADMIN link.

Thanks for sharing your wonderful creativity. :D

Mystica

You could easily add a copy of the menu bar at the bottom of the forum, right above (or even below) the copyright. Just try using template_menu(); wherever you want to place the second menu bar. Somewhere around line 260 would probably be best.
~ there's nothing wrong with me, this is how I'm supposed to be ~

CountryLady

Wow... That's neat, AND it helps me see how the 'code system' works.

I've added a couple of things there already, so I know where you're talking about.
It really is exciting to keep learning. You 'youngsters' are a smart bunch, and I'm grateful for your help.

Thanks so much.

Happy Holidays... :D

tigerfaerie

Chances of getting it updated for RC2 any time soon?   :-*

Mystica

Updates will hopefully be finished by the end of the week.
~ there's nothing wrong with me, this is how I'm supposed to be ~

Wolfenrook

Quote from: Mystica on January 01, 2006, 10:56:19 PM
Updates will hopefully be finished by the end of the week.
Thanks Mystica, the Loon themes are among my favourite themes so will be good if they work well with RC2.  :D
Thoughts are free, it's their consequences that often have a cost.

tigerfaerie


Mystica

Updated versiosn for 1.1 RC2 are attached to this post.
~ there's nothing wrong with me, this is how I'm supposed to be ~


raiwatson

I'm so glad I found these themes - they're perfect for my board!

I'm hoping someone could help me with one change.  I've changed the smf logo to my own, and like the existing layout except that I'd like to add a picture somewhere up top, preferably under the box that contains the User Info.  I'd like the image box to be the same size as the info box so that everything will look property aligned.

I'm guessing this is done by editing the template, but need help on what code to add (I've had more than my share of parse errors during the learning process!) 

Many thanks - and again, great job on the templates! 

BlackMagicWoman


Mystica

Quote from: raiwatson on January 05, 2006, 09:14:55 AM
I'm hoping someone could help me with one change.  I've changed the smf logo to my own, and like the existing layout except that I'd like to add a picture somewhere up top, preferably under the box that contains the User Info.  I'd like the image box to be the same size as the info box so that everything will look property aligned.

What smf version are you using?
~ there's nothing wrong with me, this is how I'm supposed to be ~

raiwatson

#76
Sorry - should have added that to begin with.   

SMF 1.0.5

http://www.secureoffsite.com/smf/index.php

Wolfenrook

Excellent, thanks Mystica!  I'll be putting these up on my site very soon as I'm currently clearing out all of the RC1 themes.
Thoughts are free, it's their consequences that often have a cost.

Mystica

Quote from: raiwatson on January 05, 2006, 01:44:00 PM
SMF 1.0.5

in index.template.php, find this code:
<div class="headerbodies" style="width: 440px; position: relative;">
<img src="', $settings['images_url'], '/logo.jpg" width="440" alt="" />
</div>
</td>
</tr>


and replace with:

<div class="headerbodies" style="width: 440px; position: relative;">
<img src="', $settings['images_url'], '/logo.jpg" width="440" alt="" />
</div>
</td>
</tr>
<tr>
<td valign="top">
<div class="headerbodies"><img src="path to image" alt="" /><div/>
</td>
<td> </td>
</tr>


Class and style of the second div might have to be altered a bit, but it should work like this.
~ there's nothing wrong with me, this is how I'm supposed to be ~

raiwatson

Quote from: Mystica on January 05, 2006, 05:58:30 PMClass and style of the second div might have to be altered a bit, but it should work like this.

That did it!  Thank you SO much!

Advertisement: