How to implement own font and clickable background?

Premium sports magazine Joomla template with clean, easy to customize and unique design.
GK User
Tue Oct 02, 2012 9:38 am
Hi there,

first of all, nice work guys, thank you a lot. I have some questions about fonts and background, please, could you help me a bit?

We used on website default Oswald font from Google fonts but 1 week ago we lost our nation characters like "Ř", "Č", "Š" "Ě",... -czech language, but i dont know why yet. The same happend on the test site, without our hit of source codes or some bad module/plugins installation or some wrong content coding, or maybe i am blind.

website is http://www.profiboxing.cz

- maybe you saw similar problem with Gfonts befor or do you have any advice what more i have to check?
- we have own licensed font, it is possible to integrate it to the site as default for module titles, main menu, H tgas and etc.? CSS edititng i think...

and the last thing - site background

- any advice for clickable site bacground ála site branding?

Thank you a lot for any help, advice or informations, acces to the backend is not problem.

Radenant

ps. i have lot to do and edit on the site, i know about problems, but time is my main enemy :)
User avatar
Fresh Boarder

teitbite
Tue Oct 02, 2012 10:22 am
Hi

For font problem I've encountered that selecting a different font or adding more styles to the one You have helps with such situations.

Background is a little bit more difficult, because it will require changes to template code. Please try add a new layer to /layouts/default.php file. Just below <body> starting tag. Show me the page than and I'll check the code and give You rest of the code.
User avatar
Moderator

GK User
Tue Oct 09, 2012 11:01 am
Small change in Google Font API and hours of searching why special characters are gone :angry:

In template administration, fonts section - subset must be included in font URL.
E.g.:

http://fonts.googleapis.com/css?family=Oswald&subset=latin,latin-ext
User avatar
Fresh Boarder

teitbite
Tue Oct 09, 2012 2:41 pm
Hi

Wow. To be honest I had no idea about that too, but I think that while selecting the template such link is being generated. Am I right ?
User avatar
Moderator

GK User
Tue Oct 09, 2012 3:19 pm
Hi guys,

thank both of you a lot. Very useful info and i am sorry for my late reaction.

- GFonts - interesting, as i said, it happend on live and testing site in the same time, so i thought that problem isnt internal. I examined GFonts library and the table of chars was ok. But i missed/wasnt able to find right info about API changes or how to edit font url. My bad.

- Template generate http://fonts.googleapis.com/css?family=Oswald by default, if this url is active then chars are bad. After this api change. How frendo said, if subset is included then national chars are ok. It wasnt needed befor.

- maybe it is separated for faster loading for who no need the special chars

- background, i will work on it through the weekend

last thing, sorry for my english, isnt perfekt, so please let me know if something will be not understandable.

Thank you again.

Rad
User avatar
Fresh Boarder

teitbite
Tue Oct 09, 2012 4:30 pm
Hi

I can help You with background but I will require an ftp access, because this needs changes in template code.
User avatar
Moderator

GK User
Mon Oct 15, 2012 3:00 pm
Hi teitbite,

thank you a lot. I will send all what is needed.

May i have one more question?

Is possible set fixed width to search button?
- some CSS editing i think in main or styles css?

I am learning about template and editing from questions, so thank for any possible info.

Rad
User avatar
Fresh Boarder

teitbite
Mon Oct 15, 2012 7:00 pm
Hi

Everything can be edited, but I advice to overwrite css by using override.css file. It's better to keep all changes in one place. Please remember to allow using of this file in template configuration.

Code: Select all
input#mod-search-searchword { width :150px; }
User avatar
Moderator


cron