News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Novo

Started by Diego Andrés, November 04, 2013, 10:16:29 AM

Previous topic - Next topic

Diego Andrés

Link to the theme


Free & Premium Responsive Themes for SMF




Novo
Developed by Diego Andrés

Features
  • Custom Links
  • Logo URL


Demo Online
GitHub

SMF Tricks - Free & Premium Responsive Themes for SMF.

Plus

could build blue one ?

Diego Andrés

Sure, I'll attach you a modified version of index.css and the images.
Let me get some time and I'll help you.

Regards

SMF Tricks - Free & Premium Responsive Themes for SMF.

Plus

you are welcome. i will

Plus


Diego Andrés

#5
headbg.png to Themes/Novo/images/theme, just replace the old green image with the new.
And upload the index.css to Themes/Novo/css/ and replace the older.

This might cause you some problem if a mod has changed or added coded to the index.css file.




Updated: Added Blue Novo version on the theme downloads.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Plus

#6
Thank you. This is our forum with your theme http://www.turkishairforce.org/

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

fmmobley

Can you change the date and time format at the top of the screen?

Diego Andrés

Quote from: fmmobley on November 26, 2013, 03:34:14 PM
Can you change the date and time format at the top of the screen?

Sure, just find in index.template.php:
',timeformat(time(),'%d/%m/%y - %H:%M %p'), '

Then you just edit that...

QuoteTime Format
You have the power to adjust how the time and date look for yourself. There are a lot of little letters, but it's quite simple. The conventions follow PHP's strftime function and are described as below (more details can be found at php.net).

The following characters are recognized in the format string:
  %a - abbreviated weekday name
  %A - full weekday name
  %b - abbreviated month name
  %B - full month name
  %d - day of the month (01 to 31)
  %D* - same as %m/%d/%y
  %e* - day of the month (1 to 31)
  %H - hour using a 24-hour clock (range 00 to 23)
  %I - hour using a 12-hour clock (range 01 to 12)
  %m - month as a number (01 to 12)
  %M - minute as a number
  %p - either "am" or "pm" according to the given time
  %R* - time in 24 hour notation
  %S - second as a decimal number
  %T* - current time, equal to %H:%M:%S
  %y - 2 digit year (00 to 99)
  %Y - 4 digit year
  %% - a literal '%' character

* Does not work on Windows-based servers.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Raptair

Hello,

First of all I want to tell you, that this theme is absolutely brilliant. The best theme around, since the free release of Inferno by DzinerStudio. I love it.

Now on to the problem. Two problems to be precise.

#1 Is it possible to center the blocks on the main_bar? Can you give me a hint how to do this?
#2 There are five links on the top_bar. I want to replace them with images (like facebook, and youtube icons). I know, its all simple, but I don't want to mess it up, since forum is already populated, and your theme just went live. :)


Diego Andrés

Thanks!
Center what? I don't know what do you mean, sorry.
Sure no problem, just facebook and youtube? How big do you want that icons?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Raptair

Quote from: Diego Andrés on December 02, 2013, 06:13:58 PM
Thanks!
Center what? I don't know what do you mean, sorry.
Sure no problem, just facebook and youtube? How big do you want that icons?

Center the navigation bar (with fields like home, forum, search, profile, messages etc).

For now, yes, just facebook and youtube. Buttons no bigger than 30x30 px :)

Thanks for the quick reply!

Diego Andrés

Quote from: Raptair on December 03, 2013, 03:00:03 AM
Quote from: Diego Andrés on December 02, 2013, 06:13:58 PM
Thanks!
Center what? I don't know what do you mean, sorry.
Sure no problem, just facebook and youtube? How big do you want that icons?

Center the navigation bar (with fields like home, forum, search, profile, messages etc).

For now, yes, just facebook and youtube. Buttons no bigger than 30x30 px :)

Thanks for the quick reply!

I've been trying but I can't center the menu.


Index.template.php Search:
<li><a href="', empty($settings['link_top1_url']) ? '' : '' . $settings['link_top1_url'] . '', '">', empty($settings['link_top1']) ? $txt['link_top1'] : $settings['link_top1'], '</a></li>
<li><a href="', empty($settings['link_top2_url']) ? '' : '' . $settings['link_top2_url'] . '', '">', empty($settings['link_top2']) ? $txt['link_top2'] : $settings['link_top2'], '</a></li>
<li><a href="', empty($settings['link_top3_url']) ? '' : '' . $settings['link_top3_url'] . '', '">', empty($settings['link_top3']) ? $txt['link_top3'] : $settings['link_top3'], '</a></li>
<li><a href="', empty($settings['link_top4_url']) ? '' : '' . $settings['link_top4_url'] . '', '">', empty($settings['link_top4']) ? $txt['link_top4'] : $settings['link_top4'], '</a></li>
<li><a href="', empty($settings['link_top5_url']) ? '' : '' . $settings['link_top5_url'] . '', '">', empty($settings['link_top5']) ? $txt['link_top5'] : $settings['link_top5'], '</a></li>


Replace with:
<li><a href="', empty($settings['link_top1_url']) ? '' : '' . $settings['link_top1_url'] . '', '">', empty($settings['link_top1']) ? $txt['link_top1'] : '<img src="'. $settings['images_url']. '/theme/facebook.png" alt="'. $settings['link_top1']. '" />', '</a></li>
<li><a href="', empty($settings['link_top2_url']) ? '' : '' . $settings['link_top2_url'] . '', '">', empty($settings['link_top2']) ? $txt['link_top2'] : '<img src="'. $settings['images_url']. '/theme/youtube.png" alt="'. $settings['link_top2']. '" />', '</a></li>';
/*
<li><a href="', empty($settings['link_top3_url']) ? '' : '' . $settings['link_top3_url'] . '', '">', empty($settings['link_top3']) ? $txt['link_top3'] : $settings['link_top3'], '</a></li>
<li><a href="', empty($settings['link_top4_url']) ? '' : '' . $settings['link_top4_url'] . '', '">', empty($settings['link_top4']) ? $txt['link_top4'] : $settings['link_top4'], '</a></li>
<li><a href="', empty($settings['link_top5_url']) ? '' : '' . $settings['link_top5_url'] . '', '">', empty($settings['link_top5']) ? $txt['link_top5'] : $settings['link_top5'], '</a></li>
*/
echo '


Now just upload your facebook and youtube icons to Themes/Novo/images/theme/
You can see what name yo should use: facebook, youtube.

Use Links 1 and 2 for the settings of this buttons on the admin.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Raptair

#14
Thanks for help. This is our forum: hxxp:arrival.pl [nonactive]

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

HRM

Is this theme responsive
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

HRM

Ok thanks. Good to know.
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

monphoto

Sorry, new on smf, I m using your theme and just want to change the font color on the top bar of the 5 links and the time, barely is possible to read them, also how to open the 5 links in a new tab.

I 'm sure there is some answer to that, but i could 't not find it.

Many Thanks

Advertisement: