feather

Started by Mick., October 03, 2021, 07:02:52 PM

Previous topic - Next topic

Mike66

QuoteI asked that because I noticed something similar with the "Downloads" mod by vbgamer. I'll download the mod and test it out on my end but I'm at work atm. Tonight I'll test.

Thanks Mick, much appreciated.

I'm pretty much there with my customised version of your theme, I've tried to keep it clean, which I know you like, so I hope you approve  :laugh:

I added some gradients to the menus as you suggested and I have removed the top and bottom background blocks. For board icons, I've got a green arrow for 'new posts' and I just leave 'no new posts' blank.

I just have three niggles that I need to tidy up now:
(1) The gallery image going off screen.
(2) The gallery category row is overlapping the menu bar a bit.
(3) The border that I put round the wrapper doesn't display at the sides on mobile devices.

Dropped you a PM with the URL in case that's useful for the gallery issue.

Really enjoying working with your theme thanks!

Cheers
Mike

Mike66

Hi Mick

Found it, it's not the image, it's the BB 'Image Linking Codes' text box that's going off screen and allowing the image to follow it.

Now got to try and stop that happening  ;D

Cheers
Mike

landyvlad

Mick - does the theme change the default font? I ask because the text shows no difference if formatted in normal or in bold and obviously, in the latter case, it should be, umm, bold. :)

Also how can I make the background of posts a bit darker blue rather an almost white?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Mick.

Quote from: landyvlad on November 26, 2021, 08:38:04 AMMick - does the theme change the default font? I ask because the text shows no difference if formatted in normal or in bold and obviously, in the latter case, it should be, umm, bold. :)

Also how can I make the background of posts a bit darker blue rather an almost white?
Confirmed. Chasing it.

Find:
.windowbg, .approvebg, .approvebg2 {
background-color: #fff;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
margin: 12px 0 0 0;
padding: 12px 16px;
border-radius: 20px;
overflow: auto;
}
/* Here comes the glory... */
.windowbg:nth-of-type(even), .bg.even {
background-color: #fff;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
border-radius: 20px;
}
.windowbg:nth-of-type(odd), .bg.odd {
background-color: #fff;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
border-radius: 20px;
}

Replace #fff; with your color. Try something like this: #f1f5f9;

Or find your own @ https://www.color-hex.com/

landyvlad

#64
QUESTION 1

May I suggest (or perhaps you can tell me how to set it up accordingly) that links in the top menu are set to open in a new tab (or have perhaps a checkbox for that option).

I want to have links here but still have the forum remain open in a tab; rather than have the forum replaced by another webpage.

QUESTION 2
In the additional fields for social media (in profile which I can then display wherever) how can I make a link a clickable link.

Ideally what I would like is a YT link with text reading the channel name.
Something along the lines of
[url=https://www.youtube.com/c/TheWorkshop2021/videos]The Workshop[/url]
Might be easier from a user perspective for them to have two fields one for URL and one for title if that is doable.  The diplay should then show just the title which is clickable to take them to the link.
Link really does need to open in a new tab.


"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Mick.

@landyvlad
Open index.template.php find;

<div role="navigation" id="nav-main" class="okayNav">
<ul class="reset">';
if(!empty($settings['top_link_name_1']))
echo '
<li><a href="', $settings['top_link_1'] , '">' , $settings['top_link_name_1'] , '</a></li>';

if(!empty($settings['top_link_name_2']))
echo '
<li><a href="', $settings['top_link_2'] , '">' , $settings['top_link_name_2'] , '</a></li>';

if(!empty($settings['top_link_name_3']))
echo '
<li><a href="', $settings['top_link_3'] , '">' , $settings['top_link_name_3'] , '</a></li>';

if(!empty($settings['top_link_name_4']))
echo '
<li><a href="', $settings['top_link_4'] , '">' , $settings['top_link_name_4'] , '</a></li>';

if(!empty($settings['top_link_name_5']))
echo '
<li><a href="', $settings['top_link_5'] , '">' , $settings['top_link_name_5'] , '</a></li>';

if(!empty($settings['top_link_name_6']))
echo '
<li><a href="', $settings['top_link_6'] , '">' , $settings['top_link_name_6'] , '</a></li>';
                echo'
</ul>
    </div>

We want to add this bit to whichever button:
target="_blank"
Should look like this:
if(!empty($settings['top_link_name_1']))
echo '
<li><a href="', $settings['top_link_1'] , '" target="_blank">' , $settings['top_link_name_1'] , '</a></li>';

Mick.

@landyvlad
I'm having trouble understanding your question. The top menu already has that. A slot for the link and a slot for the name.

Diego Andrés

Quote from: Mick. on December 02, 2021, 02:53:51 PMWe want to add this bit to whichever button:
target="_blank"
Should look like this:
if(!empty($settings['top_link_name_1']))
echo '
<li><a href="', $settings['top_link_1'] , '" target="_blank">' , $settings['top_link_name_1'] , '</a></li>';

It's not needed for updated browsers, but might be a good idea to also add rel="noopener" since SMF 2.1 kept it in the links with _blank

SMF Tricks - Free & Premium Responsive Themes for SMF.

landyvlad

Quote from: Mick. on December 02, 2021, 02:56:14 PM@landyvlad
I'm having trouble understanding your question. The top menu already has that. A slot for the link and a slot for the name.

I'm not talking about top menu, but the social links section.

And need things to open in a NEW tab so it doesn't navigate away from the forum.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Xpresskonami

Please can I get this kind of theme for Smf version 2.0 ??

Mick.

@landyvlad

In index.template.php find:
     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><!-- .social-font-awesome -->';

We want to add this bit to whichever button:
target="_blank" rel="noopener"
Should look like this:
echo '
                <a href="', $settings['facebook_url'] , '" target="_blank" rel="noopener"><i class="fab fa-facebook"></i></a>';

Same thing for the top menu:
[code]target="_blank" rel="noopener"[/code]

Mick.

Quote from: Xpresskonami on December 03, 2021, 12:20:48 PMPlease can I get this kind of theme for Smf version 2.0 ??
2.1 is the future. Frankly, I'm not looking back. ;)

landyvlad

Mick can you please see here: https://www.simplemachines.org/community/index.php?topic=576301.msg4103952#msg4103952
re the image for verification mod - it mentions code and I'm wondering if that is a clash somehow with your theme?

I'm hoping I can get this sorted as I plan to open up my forum as soon as I can get that sorted :)


 
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Mick.

Landyvlad I'm not familiar with the mod. The theme does not alter registration template

landyvlad

Hmm seems like I have a few changes to make, which I haven't gotten around to yet.
Are any of those fixes you have posted for me going to make it into the theme as native inclusions?

"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

landyvlad

@Mick

1. Are any of those code edits you have posted going to make it into the theme as native inclusions?

2. Has the theme been updated recently as I installed it a while back.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Mick.

Quote from: landyvlad on January 23, 2022, 06:36:28 PM@Mick

1. Are any of those code edits you have posted going to make it into the theme as native inclusions?

2. Has the theme been updated recently as I installed it a while back.

What code edits? You mean the ones I posted in another thread for my site? If so, yes.
I figured it out and yes, they will be available in all themes after 2.1 gold.

I've been updating the feather theme as well.

landyvlad

OK I guess I'm trying to figure out whether I should update the feather theme on my site or whether the hassle is not worth the result.
Probably is worth doing - let me know if you have any big updates in the works for feather and I'll hold off til those are ready :)
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Mick.

Currently updating feather theme to latest SMF 2.1 version. Should be available later today.

Mike66

What problem did the latest 2.1 version produce Mick?

Advertisement: