News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Lazarus

Started by SychO, July 04, 2018, 11:19:56 AM

Previous topic - Next topic

SychO

Quote from: yusuf34 on January 05, 2019, 04:59:49 AM
Quote from: SychO on January 01, 2019, 12:52:34 PM
link to your forum ?

I work at a local, but I uploaded it to a site to see. I sent you a message about this

thank you.

it's not really a problem that can be fixed, internet explorer just doesn't like the Google Font "Montserrat"
Best thing you can do is change the CSS so that the news section uses the other font instead.

You can do that by opening index.min.css located in lazarus20/css and then look for #newsfader :not(h3){font-weight:300;font-family:Montserrat;font-size:13px}

change it to
#newsfader :not(h3){font-weight:300;font-size:13px}
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

yusuf34

a change in the way you mentioned solved the problem. thank you


/@import "https://fonts.googleapis.com/css?family=Montserrat:300,400&subset=latin-ext";

Is a solution in this way wrong?  Would you recommend it?

thanks for everything

SychO

Quote from: yusuf34 on January 05, 2019, 06:06:00 AM
a change in the way you mentioned solved the problem. thank you


/@import "https://fonts.googleapis.com/css?family=Montserrat:300,400&subset=latin-ext";

Is a solution in this way wrong?  Would you recommend it?

thanks for everything

huh that's interesting, didn't even know about that, yea if that fixed it, it's even better
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

addlife

Quote from: SychO on July 07, 2018, 02:03:46 PM
I've UPDATED the package with a potential fix for the menu issue in some mobiles, some css fixes that had to be done, and added icon&label options for the External link.

Hi

The menu on mobile devices and on desktop browsers don't show the login/register button. Any idea what it could be?



SychO

what's "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout
set to ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

addlife

Quote from: SychO on February 10, 2019, 10:59:10 AM
what's "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout
set to ?
Yes that seemed to work. Thanks

addlife

How can I make the black banner (where the logo goes) shorter?

Or better yet is it possible to make it that the banner doesn't appear on mobile except for the main page?

Right now when I go to my forums on a mobile device the banner takes up half the screen

SychO

#107
If you're not using any portals try this:

open index.template.php located in the theme directory (should be lazarus20)
look for <div id="upper_section" class="middletext wrapper">';

replace it with <div id="upper_section" class="middletext wrapper', empty($context['current_action']) || (!empty($context['current_action']) && $context['current_action']=='forum') ? '' : ' phoneNone', '">';

Edit: I changed the code above, it had a reversed logic :P
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

addlife

Quote from: SychO on February 13, 2019, 04:31:55 PM
If you're not using any portals try this:

open index.template.php located in the theme directory (should be lazarus20)
look for <div id="upper_section" class="middletext wrapper">';

replace it with <div id="upper_section" class="middletext wrapper', empty($context['current_action']) || (!empty($context['current_action']) && $context['current_action']=='forum') ? '' : ' phoneNone', '">';

Edit: I changed the code above, it had a reversed logic :P
Thank you. Looks much better now.

When I click the buttons for unread/updated topics or anything in the menu it still comes up but it's fine. As long as the main forum wont have it.

As I'm typing this I see you edited your post I'll check if I put in the updated code. I'm assuming I did because it's working fine.

SychO

It should only show on the first page(boardindex) and then not show anywhere else, is that not the case ? :o
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

addlife

Quote from: SychO on February 13, 2019, 04:31:55 PM
If you're not using any portals try this:

open index.template.php located in the theme directory (should be lazarus20)
look for <div id="upper_section" class="middletext wrapper">';

replace it with <div id="upper_section" class="middletext wrapper', empty($context['current_action']) || (!empty($context['current_action']) && $context['current_action']=='forum') ? '' : ' phoneNone', '">';

Edit: I changed the code above, it had a reversed logic :P

I just changed the code again and I think I messed it up somehow. Now it's showing the banner again. Here's what the code looks like. I might've replaced the wrong thing the second time.

Can I just reupload a fresh copy of the index.template.php file from the main downloaded zipped theme folder?

edit: I just attached the index.template file for you to check out

addlife

Quote from: SychO on February 13, 2019, 05:03:04 PM
It should only show on the first page(boardindex) and then not show anywhere else, is that not the case ? :o
When the code was working by me it wasn't showing up even on the board index (Which actually was also fine)

SychO

code looks good, can you post a link to your forum ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

addlife

Quote from: SychO on February 13, 2019, 05:40:05 PM
code looks good, can you post a link to your forum ?
Pm sent

SychO

Oh I see now, reverse the above changes and try this instead
<div id="upper_section" class="middletext wrapper', $context['page_title_html_safe'] == str_replace('%1$s', $context['forum_name'], $txt['forum_index']) ? '' : ' phoneNone', '">';
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

RML

Very nice theme. Are you planning to convert it for SMF 2.1 version?  :)

SychO

Quote from: RML on February 14, 2019, 10:06:02 AM
Very nice theme. Are you planning to convert it for SMF 2.1 version?  :)

I'm not sure, I might at some point.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

addlife

Quote from: SychO on February 14, 2019, 05:28:47 AM
Oh I see now, reverse the above changes and try this instead
<div id="upper_section" class="middletext wrapper', $context['page_title_html_safe'] == str_replace('%1$s', $context['forum_name'], $txt['forum_index']) ? '' : ' phoneNone', '">';
Yup it's only showing on board index now. Thanks

ExXeL

Hello!

I Would like to change the header image to custom image.
Can you give me help guide how should i take it?
I framed on the picture what i want to change.

Best regards,
Roland

@rjen

Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Advertisement: