TheCripZone SMF Themes Site

All Things Public => Theme Support => SMF 2.1.4 Themes => Topic started by: Skhilled on Oct 21, 23, 02:38:48 PM

Title: Ambassador Theme Released!
Post by: Skhilled on Oct 21, 23, 02:38:48 PM
TheCripZone Team is proud to release the Ambassador theme. You can see a demo here. If you don't see it use the Theme Changer in the top left TP block:

https://jpr62.com/demos214/

You can download the release here:

https://github.com/Crip-Zone/Ambassador/releases
Title: Re: Ambassador Theme Released!
Post by: Scrubmeister on Oct 21, 23, 08:21:08 PM
Looks good! O0
Title: Re: Ambassador Theme Released!
Post by: Skhilled on Oct 21, 23, 08:46:21 PM
I totally forgot to add this here. LOL We finished that one awhile ago. LOL
Title: Re: Ambassador Theme Released!
Post by: Lucarella on Dec 18, 23, 02:38:40 PM
Hi guys, I'm new to this forum, even though I've been using your themes on my forums for many years, like Whitebox, ambassador for 2.0 and darkmodern and someone else whose name I can't remember now (it's normal after a long time)
In these days I'm doing tests for SMF 2.1.4 and I've inserted the ambassador theme (nice as always) and I have a question:
How can I center my banner at the top of everything?
By entering the URL the image is displayed off-centre to the left but I like to see it perfectly in the centre.
Unfortunately I'm not good and even looking at the index.css I couldn't find the solution.

Thanks for your help
Title: Re: Ambassador Theme Released!
Post by: Skhilled on Dec 18, 23, 10:30:29 PM
Hi Lucarella, and welcome aboard! :)

Please post a link to your website, so I can see what the problem is. :)
Title: Re: Ambassador Theme Released!
Post by: Lucarella on Dec 19, 23, 01:42:24 AM
This is the testing forum where I'm working https://luke76.net/index.php
While this is the main one that as soon as I'm ready I'll have to move on to 2.1.4 https://dd-crew.net/forum/index.php
Title: Re: Ambassador Theme Released!
Post by: Skhilled on Dec 19, 23, 09:41:57 PM
Try this... Find this in index.css:

h1.forumtitle a {
  color: #a85400;
  text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}

And change it to:

h1.forumtitle a {
  color: #a85400;
  text-shadow: 1px 1px 1px rgba(0,0,0,.3);
  display: flex;
  justify-content: center;
  align-items: center;
}
Title: Re: Ambassador Theme Released!
Post by: Lucarella on Dec 20, 23, 03:51:32 PM
It works perfectly, now my banner is centered perfectly.
The only bad thing now is the smflogo which I can't remove.
Thank you
Title: Re: Ambassador Theme Released!
Post by: Skhilled on Dec 20, 23, 08:18:43 PM
Look in your 'Current Theme' settings and look for 'Logo image URL:'. If there is anything in it, just delete it.
Title: Re: Ambassador Theme Released!
Post by: Lucarella on Dec 21, 23, 02:41:44 PM
No, there is nothing, the box is empty :(
Title: Re: Ambassador Theme Released!
Post by: Skhilled on Dec 21, 23, 07:16:56 PM
Backup index.template.php and find this:

echo '
 ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smf4.png" alt="Simple Machines Forum" title="Simple Machines Forum">' : '<div id="siteslogan">' . $settings['site_slogan'] . '</div>', '';

Change it to this:

/* echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smf4.png" alt="Simple Machines Forum" title="Simple Machines Forum">' : '<div id="siteslogan">' . $settings['site_slogan'] . '</div>', ''; */

I hope that helps. :)
Title: Re: Ambassador Theme Released!
Post by: Lucarella on Dec 23, 23, 05:55:36 AM
It worked, you're great O0
Now I'm waiting for the new Darkmodern ;)
Title: Re: Ambassador Theme Released!
Post by: Dave on Dec 24, 23, 03:58:33 AM
For future reference in order to remove the SMF logo the easiest way without coding is to go into Admin>Configuration>Current Theme and in the box for 'Site slogan' put your cursor in it and press space, then click on 'Save' and it's gone.

By doing it that way you always have the option to go back and put your own slogan in it at a later date
Title: Re: Ambassador Theme Released!
Post by: Lucarella on Dec 24, 23, 10:33:13 AM
The simplest solutions are always not considered :2funny:
Title: Re: Ambassador Theme Released!
Post by: Skhilled on Dec 24, 23, 12:11:52 PM
LOL, for as long as I've been using SMF, I should've known that. LOL