• Welcome to Simple Machines Community Forum. Please login or sign up.
December 03, 2021, 11:21:01 AM

News:

Check out the SMF Function DB!


Jane2

Started by Mick., September 03, 2021, 07:45:00 PM

Previous topic - Next topic

Mick.

Link to the theme
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

Antechinus


Mike66


Mick.

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

mickjav

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
Database Dreams - music and charts, Home of Chart Tracker Elite, Apollo & DJ 2020.
Coming soon The Librarian.

Mick.

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


mickjav

Thanks mick. Be home tomorrow so will sort it then.
Database Dreams - music and charts, Home of Chart Tracker Elite, Apollo & DJ 2020.
Coming soon The Librarian.

Advertisement: