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)
(https://www.idesignsmf.com/demo-images/jane44.jpg)

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


(https://www.idesignsmf.com/demo-images/jane2.jpg)


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.