Customizing SMF > Theme Site Themes
DarkModern
Crip:
I will check on that asap!
--
I checked , my demo-site shows it well , see pic.
Skystone:
Sorry I didn't get back sooner on this but it's not a live site and I had to go out of town for a couple of days.
There isn't a thing wrong with SMF or Crips theme. (I should have known).
The problem was with the id10t modifying the themes....me.
I put a full width banner image that I needed to be above the #wrapper <div> (so it would stretch the entire width and not be in the header or wrapper)
So I put the banner in this way:
--- Code: ---echo '<img src="', $settings['images_url'], '/wm3bbbwoodsbnnr.png" style="margin: 0px;" alt="', $context['forum_name'], '"/>';
--- End code ---
Just above the #wrapper. Right after the < body > tag:
--- Code: ---</head>
<body>';
}
--- End code ---
part.
Like so:
--- Code: ---</head>
<body>';
echo '<img src="', $settings['images_url'], '/wm3bbbwoodsbnnr.png" style="margin: 0px;" alt="', $context['forum_name'], '"/>';
}
--- End code ---
The banner was right where it needed to be (for me) and looked and worked great. Except it broke the image verification and Crips theme. I should have known anything I want and need would cause problems. >sigh<
Before I discovered the problem...I learned a lot of stuff researching image verifiacation.
---
So the moral of the story is when you want to put a banner image on the top of your forum above the #wrapper....don't do what I did above.
Now I get to play around and try to find a way to get that banner up there at the top...above the #wrapper, without breaking Crips theme again.
>goes back to the drawing board<
Skystone:
Final update:
I ended up ditching the idea of adding an additional 'echo' statement, and just placing a regular htm <img> tag inside an already established echo statement.
this one:
--- Code: ---echo !empty($settings['forum_width']) ? '
--- End code ---
I plopped the <img> after that, still within the flow of the echo statement.
Everything works great now and doesn't break anything (as far as I can tell, so far)...the image verification looks great. The world is a happy place again and I can make this the default theme.
So Sorry for the false alarm everyone. I'm not that well versed in php as you can tell. I had no idea that adding an additional echo statement with a simple image could be so finicky. And certainly no idea it could interfere with the image verification.
Thanks again Crip, for yet another great theme ! (for dummies like me to break)
Wolphard:
Hi there Crip and thank for creating this theme. It's very close to the theme we used on our SMF1.1.xx site (a modded Backbox). Things have gotten a bit different since SMF1 it seems, and I've become rather rusty at this. So I'd like to ask you 2 questions if you don't mind.
1. Where can I change the width of the Darkmodern theme? ~ I like my forums to be full screen usually.
2. Where do I change the header height? ~ Our guild mascotte "Cherry" need to be fitted in and I'd like to give her some room. :)
Thanks in advance for any help you can give me.
Crip:
Change the WIDTH just like on Default Curve , you can't AFAIK adjust the Header…
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version