Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: Mick. on September 03, 2021, 07:45:00 PM

Title: Jane2
Post by: Mick. on September 03, 2021, 07:45:00 PM
Link to the theme (https://custom.simplemachines.org/index.php?theme=2965)

Jane2 2.1 Responsive SMF Theme

A very simple plane Jane2 responsive theme for SMF 2.1. Has your social media follow buttons, flat design and minimal. Our style is clean, flat and professional. When you see our design out there, you'll know where it came from, idesignSMF.com
This theme is free for personal and commercial use. You are allowed to use it in your projects, change it and adapt for your purposes. You are not allowed to remove the authorship and link to idesignsSMF.com





Demo: https://www.idesignsmf.com/demo.html
Title: Re: Jane2
Post by: Antechinus on September 03, 2021, 08:04:31 PM
Tis noice. :)
Title: Re: Jane2
Post by: Mike66 on September 04, 2021, 06:19:17 AM
Nice Mick  :)
Title: Re: Jane2
Post by: Mick. on September 04, 2021, 11:23:43 PM
I updated the theme. If you decide not to re-dload, it's a simple change in the css.

body {
background: #f8f8f8;
font: 83.33%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif;
color: #4c4c4c;
display: flex;
flex-direction: column;
min-height: 100vh;
}

Replace this bit;
font: 83.33%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif;
For this;
font: 78%/130% "Open Sans", sans-serif;
That was my own boo boo. The most important thing, I left it out.  System overload!! Bahahaha
Title: Re: Jane2
Post by: mickjav on September 30, 2021, 03:01:35 PM
Hi mick. Very nice theme thanks, is it possible to have the social media links open in a new window.

Thanks mick

Sent from tab S4
Title: Re: Jane2
Post by: Mick. on September 30, 2021, 03:10:09 PM
Yup. Find this bit in index.template.php
    echo'
<div class="social-font-awesome">';
if(!empty($settings['facebook_url']))
echo '
                     <a href="', $settings['facebook_url'] , '"><i class="fab fa-facebook"></i></a>';

if(!empty($settings['twitter_url']))
echo '
                     <a href="', $settings['twitter_url'] , '"><i class="fab fa-twitter"></i></a>';

if(!empty($settings['youtube_url']))
echo '
                     <a href="', $settings['youtube_url'] , '"><i class="fab fa-youtube"></i></a>';

if(!empty($settings['linkedin_url']))
echo '
                     <a href="', $settings['linkedin_url'] , '"><i class="fab fa-linkedin"></i></a>';

if(!empty($settings['rss_url']))
echo '
                     <a href="', $settings['rss_url'] , '"><i class="fas fa-rss"></i></a>';
    echo '
</div>';


Replace with:
    echo'
<div class="social-font-awesome">';
if(!empty($settings['facebook_url']))
echo '
                     <a href="', $settings['facebook_url'] , '" target="_blank"><i class="fab fa-facebook"></i></a>';

if(!empty($settings['twitter_url']))
echo '
                     <a href="', $settings['twitter_url'] , '" target="_blank"><i class="fab fa-twitter"></i></a>';

if(!empty($settings['youtube_url']))
echo '
                     <a href="', $settings['youtube_url'] , '" target="_blank"><i class="fab fa-youtube"></i></a>';

if(!empty($settings['linkedin_url']))
echo '
                     <a href="', $settings['linkedin_url'] , '" target="_blank"><i class="fab fa-linkedin"></i></a>';

if(!empty($settings['rss_url']))
echo '
                     <a href="', $settings['rss_url'] , '" target="_blank"><i class="fas fa-rss"></i></a>';
    echo '
</div>';

I added a simple line to the href

Title: Re: Jane2
Post by: mickjav on September 30, 2021, 03:30:11 PM
Thanks mick. Be home tomorrow so will sort it then.
Title: Re: Jane2
Post by: Mick. on February 16, 2022, 09:02:21 AM
Jane2 updated to latest SMF 2.1 version.

Notable changes:
Added our styled Info Center
Title: Re: Jane2
Post by: Dave J on February 17, 2022, 11:00:50 AM
Hi Mick,

Sorry to say there is an issue with Jane 2.1.1 .

You will see from the attached images that first installed everything looks fine. Then when you go into settings and remove the option for the 'Random News Line' the theme then goes full width of the screen.

Putting the tick back makes it go back to normal
Title: Re: Jane2
Post by: Panoulis64 on March 10, 2022, 11:42:39 AM
Finally, after testing, I used this theme and I am quite happy.
Your job is very good @Mick.
If it had rounded up videos like feather theme, I would feel lucky.
Sure, there is the problem, says Dave J
I solved it temporarily, making the news permanent.

I need your help, so as not to damage the issue.
This, because I do not know how to write code, I just manage the forum.
So if you want and you can, I want you to tell me, if there is a way to put the photo that shows the arrow, in the attachment and if you happen not to display the text from the news, at the bottom (arrow), since it is permanent, at the top and more beautiful!
Thank you very much.
Title: Re: Jane2
Post by: Panoulis64 on March 23, 2022, 10:33:25 AM
I'm sorry because I do not see any answers, especially in Dave J.'s comment.

QuoteYou will see from the attached images that first installed everything looks fine. Then when you go into settings and remove the option for the 'Random News Line' the theme then goes full width of the screen.

Putting the tick back makes it go back to normal

@Dave J Did you finally find a solution? I am interested in. Thanks
Title: Re: Jane2
Post by: Dave J on March 23, 2022, 12:58:42 PM
Quote from: Panoulis64 on March 23, 2022, 10:33:25 AMI'm sorry because I do not see any answers, especially in Dave J.'s comment.

QuoteYou will see from the attached images that first installed everything looks fine. Then when you go into settings and remove the option for the 'Random News Line' the theme then goes full width of the screen.

Putting the tick back makes it go back to normal

@Dave J Did you finally find a solution? I am interested in. Thanks

Hi

No I didn't bother. I have 4 themes for 2.1.1 that work just fine on my site at the moment
Title: Re: Jane2
Post by: TwitchisMental on April 13, 2022, 03:16:57 PM
Quote from: Dave J on February 17, 2022, 11:00:50 AMHi Mick,

Sorry to say there is an issue with Jane 2.1.1 .

You will see from the attached images that first installed everything looks fine. Then when you go into settings and remove the option for the 'Random News Line' the theme then goes full width of the screen.

Putting the tick back makes it go back to normal

I have found the solution for this issue.

Open index.template.php in your favorite text editor.

Find -
  echo '
 <div id="wrapper">';
 // Show a random news item? (or you could pick one from news_lines...)
 if (!empty($settings['enable_news']) && !empty($context['random_news_line']))
 echo '
 <div class="news2">
    <p>', $context['random_news_line'], '</p></div>';
 echo '
 </div>';

Replace with -
    echo '
    <div id="wrapper">';
            // Show a random news item? (or you could pick one from news_lines...)
            if (!empty($settings['enable_news']) && !empty($context['random_news_line']))
        echo '
            <div class="news2">
                <p>', $context['random_news_line'], '</p></div>';

The issue was that the news section was being closed before the ending </div> was being added. So when news was disabled that </div> was closing another open <div> that did not need closing yet.