Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: CrimeS on February 19, 2012, 02:31:07 PM

Title: Minimalistic Theme
Post by: CrimeS on February 19, 2012, 02:31:07 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=2561)
(http://custom.simplemachines.org/themes/index.php/action,download/lemma,2561/image,thumb)

New Minimalistic SMF2 Theme,


//UPDATE3
Fixed major issues with theme, mainly stylistical
Added option to change logo without changing files, however if you prefer you can just replace smflogo.png
Added hungarian theme strings, thanks Ralesk!

//UPDATE2
Adds Login or Register on top

//UPDATE
Removes text for unregistered users


All of those updates are included in current package.

Live demo: http://demo.studiocrimes.com (http://demo.studiocrimes.com)
Title: Re: Minimalistic Theme
Post by: Crip on February 20, 2012, 10:51:16 AM
Nice clean Theme.

Congrats! ;D
Title: Re: Minimalistic Theme
Post by: CrimeS on February 20, 2012, 05:07:35 PM
Thanks for comments and downloads. If I will find some time then I will make darker version of this theme.
Title: Re: Minimalistic Theme
Post by: impreza on February 21, 2012, 04:54:17 PM
Very nice style, I like.

Choć może można napisać i po PL - fajnie wygląda.
Title: Re: Minimalistic Theme
Post by: CrimeS on February 23, 2012, 04:51:04 PM
I released update 2 which adds and removes few problems on the top of the theme.

Oczywiście, że po polsku można :)
Title: Re: Minimalistic Theme
Post by: Truts2 on February 28, 2012, 02:08:35 PM
Brawo, fajnie wygląda :)

Great, looks nice :)
Title: Re: Minimalistic Theme
Post by: ARG01 on February 29, 2012, 12:12:30 AM
Nice.  ;)
Title: Re: Minimalistic Theme
Post by: Anbieter on June 13, 2012, 02:09:21 AM
Thank you for this theme, it's exactly what i was looking for :-)
Title: Re: Minimalistic Theme
Post by: abhirupmanna on June 13, 2012, 02:44:26 AM
Damn I love your themes..
Title: Re: Minimalistic Theme
Post by: Tennant on May 25, 2014, 02:57:46 AM
Awesome theme.  :laugh:
Title: Re: Minimalistic Theme
Post by: CrimeS on May 25, 2014, 05:03:39 PM
Thanks  8)
Title: Re: Minimalistic Theme
Post by: DEANO3528 on November 24, 2014, 08:26:03 AM
I was directed to ask my question here from another section so hope you can help.
I have 2.0.9 that is incorporated into a Joomla website via an external url module. I easily managed to change the smf logo to the one for the main site but I can't see what to change in index.template.php to alter the url in the logo to the website, to act like a kind of 'Back' button.
Theme is Minimalistic_SMF2 the colours of which work perfectly with the website it is linked to.
Any help appreciated, cheers.
Title: Re: Minimalistic Theme
Post by: CrimeS on November 25, 2014, 04:44:52 AM
In index.template.php find this code, which is responsible for logo image and url:

if (empty($context['header_logo_url_html_safe']))
echo '<a href="', $scripturl ,'"><img src="' . $settings['images_url']  . '/smflogo.png" alt="' . $context['forum_name'] . '" /></a>';
else
echo '
<a href="', $scripturl, '"><img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>';


Now you need need to change those bits in two places:

', $scripturl ,'

It can be changed to any url you want to.
Title: Re: Minimalistic Theme
Post by: DEANO3528 on November 26, 2014, 03:44:22 AM
Thank you CrimeS
Title: Re: Minimalistic Theme
Post by: gonencemlak.com.tr on November 26, 2014, 04:22:07 AM
I liked it. Thank you for sharing this theme.
Title: Re: Minimalistic Theme
Post by: CrimeS on November 26, 2014, 04:00:43 PM
No problem and thank you very much for kind words.
Title: Re: Minimalistic Theme
Post by: oljo on December 10, 2014, 06:15:17 AM
Hello.

I have a few questions about your theme that looks awsome btw!

I am a total newbie when it comes to SMF.

Is it possible to move the search line down to the "menu" line and have the black line on top go all the way down just over the "menu" line? so the logo is inside the black top?

Title: Re: Minimalistic Theme
Post by: CrimeS on December 10, 2014, 09:02:40 AM
I'm not sure if that's what you want, but here's the modified index.template.php. Just replace it with the one on your forum.
Title: Re: Minimalistic Theme
Post by: oljo on December 12, 2014, 04:25:19 AM

Ouh Thanks!

Its almost right.

i have paintet it in so you can se :)

I REALY appreciate that you do this for me!

Thanks you!
Title: Re: Minimalistic Theme
Post by: CrimeS on December 12, 2014, 06:16:43 AM
I can't make out from screenshot what do you want to do with the (Unread/Messages), but if you want to translate it into your language then go into /languages and create the following files:
ThemeStrings.YOUR_LANGUAGE_NAME.php
ThemeStrings.YOUR_LANGUAGE_NAME-utf8.php

YOUR_LANGUAGE_NAME needs to be changed appropriately.

This is what goes into those 2 files (translate it first):
<?php

$txt
['theme_welcome'] = 'Welcome, ';
$txt['theme_messages'] = 'messages,';
$txt['theme_unread'] = ' unread';
$txt['theme_login'] = 'Login';
$txt['theme_or'] = 'or';
$txt['theme_register'] = 'Register';

?>





I attach index.template.php with removed search.




Logo background can be changed in index.css. Find this (it's just at the end):
.logo
{
height: 75px;
width: 100%;
border-top: #dadada solid 1px;

background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top,  #ffffff 0%, #f3f3f3 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%); /* IE10+ */
background: linear-gradient(top,  #ffffff 0%,#f3f3f3 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 ); /* IE6-9 */


}


and replace it to for example this:
.logo
{
height: 75px;
width: 100%;
border-top: #dadada solid 1px;
background: #000;
}
Title: Re: Minimalistic Theme
Post by: oljo on December 12, 2014, 06:45:40 AM

Super!

I will fix it when i get home!

Thanks for fast answer!
Title: Re: Minimalistic Theme
Post by: oljo on January 23, 2015, 09:01:06 AM
I have just changed the colors on this theme.

But i am wondering if its possible to change the color on the menu? Is it possible to change the background around the text to white, and change the hoovering effect to black instead of white?
and its possible to make it so the hoovering effect is black and the text go white when you hoover over it?

I can try to illustrate if you dont know what i mean  :)

the forum is at www.kosf.no/forum