News:

Wondering if this will always be free?  See why free is better.

Main Menu

Gander Green

Started by Shades., March 28, 2022, 03:34:45 PM

Previous topic - Next topic

Shades.

Link to the theme


Description: A green outdoor-ish default curve variation theme.

Credits and shout outs to:


Thanks! 8)

Custom Top Menu:
If you want the Custom Top Menu that works with this theme, get it here.

Theme Demo





Change log

Change log:

1. Version 2.1.4b : 07/19/2023
Cleaned up some codes & fixed responsive (no color changes)

1. Version 2.1.4 : 06/29/2023
Updated Theme for SMF 2.1.4

1. Version 2.1.3 : 11/27/2022
Updated Theme for SMF 2.1.3

Version 2.1.2b : 09/26/2022
1. Fixed background image links.

Version 2.1.2a : 05/16/2022
1. Fixed background image links

Version 2.1.2 : 05/13/2022
1. Updated theme for SMF 2.1.2

Version 1.1 : 04/19/2022
1. Fixed code box/select issues in posts
Version 1.0 : First Release for SMF 2.1.1
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

TwitchisMental

Awesome theme! Great work @Shades. :).

Now you gotta knock it up another notch. I wanna see a redesigned header in your next theme :P.

Shades.

Quote from: TwitchisMental on March 28, 2022, 06:54:11 PMAwesome theme! Great work @Shades. :).

Now you gotta knock it up another notch. I wanna see a redesigned header in your next theme :P.
Thanks! Just keeping it simple for now! ;)  :P
I will do more as I learn eventually! ;D
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Tobes-vibration

Hi, Could anyone help me get the language bar to show up in Gander Green theme SMF 2.1, it was working until I added the theme.

TIA

Shades.

What/where is the language bar? Is that a mod? I don't have a language bar in my version of 2.1.1 so I am unfamiliar with what you are talking about. ???
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

#5
Oh I see it in admin>languages now. I never added another language to my forum to test this before so this theme as is will not support the language bar. If you want the language bar then you will have to remove the custom top menu as per these instructions:

In /Themes/GanderGreen_21_1/css/index.css at the end of the file find and remove:
/* ------------------------------------------ */
/* Code for themes/default/index.template.php */
/* ------------------------------------------ */
/* Fixed top bar. */
#top_section {
    position: fixed;
    z-index: 9;
    top: 0;
    right: 0;
    left: 0;
}
/* We definitely do not want floats here. */
#top_section > .inner_wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
/* Allow this to expand, to take up .inner_wrap width. */
#top_info, .welcome {
    float: none;
    flex: 1 0 auto;
}
#top_info {
    padding: 0;
}
#top_info > li {
    margin: 0;
    padding: 5px 1px;
}
/* Maybe put these in one wrapper (would require a template edit). */
#search_form {
    position: absolute;
    top: 100%;
    right: 0;
    flex: none;
    float: none;
    padding: 0 8px 6px;
    background: #55692f;
    border: solid #55692f;
    border-width: 0 1px 1px;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 -1px 0 #55692f, 0 1px 4px rgba(0,0,0,.16);
}
#languages_form {
    display: none;
}
/* Wrapper div for the site menu. */
#site_menu {
    flex: none;
    margin-left: auto;
}
/* Site menu ul. */
#site_nav {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
/* Site menu button parents. */
#site_nav > li {
    flex: none;
    position: relative;
    margin: 0;
    padding: 5px 1px;
    border: 0 !important;
}
/* To compensate for fixed top bar. */
#footerfix {
    padding-top: 40px;
}
/* Media queries (kill 2.1 RC4 stupid). */
/* Adjust to suit your own preferences. */
@media screen and (max-width: 850px) {
    #footerfix {
        padding-top: 80px;
    }
}
@media screen and (max-width: 720px) {
    #search_form {
        display: block !important;
        border-width: 0 0 1px 1px;
        border-radius: 0 0 0 7px;
    }
}
@media screen and (max-width: 480px) {
    #footerfix {
        padding-top: 100px;
    }
    #site_nav > li {
        width: auto !important;
    }
    #site_nav > li > a {
        padding: 0 7px;
        text-indent: 0;
        border: 1px solid transparent !important;
        border-radius: 4px;
    }
    #site_nav > li > a:hover, #site_nav > li > a:focus {
        border: 1px solid #55692f !important;
    }
}

/* ------------------ */
/* Site menu buttons. */
/* ------------------ */

/* Optional look for buttons. *//*
#site_nav > li > a {
    background: #597b9f;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 2px #000;
    border: 1px solid #4a6b8c;
    box-shadow: 0 4px 4px rgba(255, 255, 255, 0.1) inset;
}
#site_nav > li > a:hover, #site_nav > li > a:focus, #site_nav > li > a:active {
    background: linear-gradient(#ffae14, #f5a100);
    color: #222;
    text-shadow: none;
    border: 1px solid #f49a3a;
}

/* Optional CSS re-ordering of buttons. *//*
#button1 {
    order: 5;
}
#button2 {
    order: 3;
}
#button3 {
    order: 1;
}
#button4 {
    order: 2;
}
#button5 {
    order: 4;
}

/* Optional coloring of individual buttons. *//*
#button1 a, #button3 a, #button5 a,
#button2 a:hover, #button4 a:hover {
    background: #597b9f;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 2px #000;
    border: 1px solid #4a6b8c;
    box-shadow: 0 4px 4px rgba(255, 255, 255, 0.1) inset;
}
#button1 a:hover, #button3 a:hover, #button5 a:hover,
#button2 a, #button4 a {
    background: linear-gradient(#ffae14, #f5a100);
    color: #222;
    text-shadow: none;
    border: 1px solid #f49a3a;
}

/* ----------------------------------------- */
/* Code for Admin > Mod Settings > Top Menu. */
/* ----------------------------------------- */
#admin_form_wrapper[action*="sa=custom_menu"] dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
#admin_form_wrapper[action*="sa=custom_menu"] dt,
#admin_form_wrapper[action*="sa=custom_menu"] dd {
    float: none;
    height: 1.8em;
    width: 50%;
    margin: 0 0 4px 0;
    line-height: 1.8em;
}
#admin_form_wrapper[action*="sa=custom_menu"] dt label {
    display: inline-block;
    padding: 0 6px;
    cursor: pointer;
}
#admin_form_wrapper[action*="sa=custom_menu"] dd {
    line-height: 1.2em;
}
#admin_form_wrapper[action*="sa=custom_menu"] dt:nth-of-type(3n),
#admin_form_wrapper[action*="sa=custom_menu"] dd:nth-of-type(3n) {
    height: 2.5em;
    margin: 0 0 1em 0;
    border-bottom: 1px solid #bbb;
    box-shadow: 0 1px 0 #fff;
}
/* ------------ */
/* End of file. */
/* ------------ */

Or copy the attached file to your /Themes/GanderGreen_21_1/css/

I will see about adding the language menu in the next version. ;)

Edit: BTW users can still select their language in the their "Profile" under "Account Settings".
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Updated Theme:

Nothing to do with the above post just cleaned up some css. ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

jsx

Hi @Shades.

I want to put my own logo in the place where the GANDERGREEN logo is on the illustrative graphic. Currently, the theme does not have this logo. Can you help me?

And I want to remove the mountains logo on the right. Can you help me?

Can you provide a solution on how to insert a custom theme background?

Shades.

Quote from: jsx on April 17, 2022, 08:31:50 AMI want to put my own logo in the place where the GANDERGREEN logo is on the illustrative graphic. Currently, the theme does not have this logo. Can you help me?

Go to Admin>Configuration>Current Theme and put in your logo URL where it says "Logo image URL:" or you can replace /Themes/GanderGreen_21_1/images/logo.png with your own logo.png.

Quote from: jsx on April 17, 2022, 08:31:50 AMAnd I want to remove the mountains logo on the right. Can you help me?
Go to Admin>Configuration>Current Theme and put in your site slogan where it says "Site slogan:" or replace /Themes/GanderGreen_21_1/images/smflogo.svg with your own smflogo.svg.

Quote from: jsx on April 17, 2022, 08:31:50 AMCan you provide a solution on how to insert a custom theme background?
Open /Themes/GanderGreen_21_1/css/index.css...

Find:
background-image: url("/Themes/GanderGreen_21_1/images/background.webp") !important;
and  replace background.webp with whatever image you want.

Hope that helps! 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Tobes-vibration

Quote from: Shades. on April 16, 2022, 08:50:25 AMOh I see it in admin>languages now. I never added another language to my forum to test this before so this theme as is will not support the language bar. If you want the language bar then you will have to remove the custom top menu as per these instructions:

Edit: BTW users can still select their language in the their "Profile" under "Account Settings".

Brilliant thanks for that, thats perfect, knew about language selection in profile but I am aiming at an older crowd for beekeeping so dont expect them to be too techy this really helps.

Many Thanks

Tobes

Shades.

Theme Updated:

Version 1.1 : 04/19/2022
1. Fixed code box/select issues in posts
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

jsx

Quote from: Shades. on April 17, 2022, 10:08:57 AMGo to Admin>Configuration>Current Theme and put in your logo URL where it says "Logo image URL:" or you can replace /Themes/GanderGreen_21_1/images/logo.png with your own logo.png.

Thanks for the information, but in /Themes/GanderGreen_21_1/images/logo.png there is no logo.png file, there is a gandergreen.png file - even if I replace this file with my logo file, my logo will not be displayed, because in css there is no reference to this file. Correct me if I am wrong. Unfortunately, I did not find it.

Look that your other BlueGreen theme has a logo.png file and this logo displays in its place. Tried to find a reference to this logo in css but can't find it.

Tell me where in the css I can find the code responsible for displaying this logo in the GanderGreen and BlueGreen theme. Thanks.

Quote from: Shades. on April 17, 2022, 10:08:57 AMGo to Admin>Configuration>Current Theme and put in your site slogan where it says "Site slogan:" or replace /Themes/GanderGreen_21_1/images/smflogo.svg with your own smflogo.svg.

If I wanted to completely remove the logo of these mountains in the code, how to do it?

Quote from: Shades. on April 17, 2022, 10:08:57 AMOpen /Themes/GanderGreen_21_1/css/index.css...
and  replace background.webp with whatever image you want.

Thanks for the tip.

Shades.

Quote from: jsx on April 22, 2022, 04:47:22 PMTell me where in the css I can find the code responsible for displaying this logo in the GanderGreen and BlueGreen theme. Thanks.
It's in Themes/GanderGreen_21_1/index.template.php

Find:
    echo '
    <div id="header">
        <h1 class="forumtitle">
 <a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="'. $settings['images_url']. '/logo.png" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />', '</a>
 </h1>';

There you can change logo.png to an image you put in /Themes/GanderGreen_21_1/images

Quote from: jsx on April 22, 2022, 04:47:22 PMIf I wanted to completely remove the logo of these mountains in the code, how to do it?
That is smflogo.svg so you can remove it the easy way by going into index.css and add to the bottom:
Instructions here ;)

#smflogo, #siteslogan {display: none;}
or remove this code in index.template.php
    echo '
        ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.svg" alt="Simple Machines Forum" title="Simple Machines Forum">' : '<div id="siteslogan">' . $settings['site_slogan'] . '</div>', '';


Also make sure you have an updated theme because I updated all my themes on the 20th of April! ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

jsx

Quote from: Shades. on April 22, 2022, 05:21:08 PMAlso make sure you have an updated theme because I updated all my themes on the 20th of April! ;)

Thanks for the help. I just re-uploaded this theme already updated.

Can I change the width of the theme? In SMF 2.1, can this be done?

FrizzleFried


jsx

Thanks for information about this mod.

jsx

Quote from: Shades. on April 17, 2022, 10:08:57 AMOpen /Themes/GanderGreen_21_1/css/index.css...

Find:
background-image: url("/Themes/GanderGreen_21_1/images/background.webp") !important;
and  replace background.webp with whatever image you want.

Hope that helps! 8)

@Shades.

This background file background.webp and even my background is not displaying.

Shades.

Quote from: jsx on April 29, 2022, 08:17:03 AMThis background file background.webp and even my background is not displaying.
Can you post here or PM me a link to your site?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Updated Theme:

Version 2.1.2 : 05/13/2022
1. Updated theme for SMF 2.1.2
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Theme Updated:

Version 2.1.2a : 05/16/2022
1. Fixed background image links
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: