Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2011-12-07 15:51:58

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

default font type & font size

can i set the default font type & font size for user Comments, Descriptions, etc
and if so how

Offline

#2 2011-12-09 11:09:18

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

Re: default font type & font size

Can Anyone help with this ?

Offline

#3 2011-12-09 12:24:17

ddtddt
Piwigo Team
Location: Quetigny - France
Registered: 2007-07-27
Posts: 6112

Re: default font type & font size

yes of course

with local CC

what theme you use?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

#4 2011-12-09 13:49:16

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

Re: default font type & font size

thanks for the reply
the theme is Pure Autumn + Piwigo latest version
i thought it might be possible using the Local file editor and CSS but wasn't sure how to go about it and what was  or was not possible

Offline

#5 2011-12-09 19:43:54

flop25
Piwigo Team
Registered: 1970-01-01
Posts: 3522
Website

Re: default font type & font size

hello
yes you can customize the theme using localfile editor and the link CSS under the theme


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#6 2011-12-09 20:14:24

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

Re: default font type & font size

looking at local files editor >>CSS >> Pure_autumn-rules.css i get
/* File is not existing and will be created by LocalFiles Editor */
without knowing Id or class names to target I'm a bit stuck

Offline

#7 2011-12-09 23:01:02

flop25
Piwigo Team
Registered: 1970-01-01
Posts: 3522
Website

Re: default font type & font size

IGraham wrote:

looking at local files editor >>CSS >> Pure_autumn-rules.css i get
/* File is not existing and will be created by LocalFiles Editor */
without knowing Id or class names to target I'm a bit stuck

Well you use Firebug on ff, F12 on IE and chrome, dev menu on Safari... and check what on what where you want


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#8 2011-12-11 11:31:55

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

Re: default font type & font size

Firebug - never used that one before
installed it into Firefox, looked at page and css ?? search on 'font' in css have you seen just how much css is used
No idea which one to look at ? or even how to over ride it really
don't suppose you could give me another clue (or two) :)

Offline

#9 2011-12-11 15:04:54

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

Re: default font type & font size

well after a bit more 'experiment' i find that i can inspect the element and even temporarily change a value - nice
unfortunately i found that the value i want to change is global and will affect all Body text, these are the css values i want to change to
BODY {
    color: #696969;
    font-family: comic Sans MS;
}

BODY {
   
    font-size: 1em;
}
So i pasted them into pure_autumn css and though the comments and description look ok some of the other items like the menu were better with the original font
I'll look for a font in between,
thanks again for the prod in the right direction - a little bit more learned

Offline

#10 2011-12-11 16:20:42

flop25
Piwigo Team
Registered: 1970-01-01
Posts: 3522
Website

Re: default font type & font size

1)you can add news font, whatever the theme is : http://www.google.com/webfonts and other web sites have fonts to download free or not (http://www.fontshop.com

)
To apply these fonts, they are many ways and the easiest is :
to use [extension by ddtddt] Add < head > Element

and add <link href='http://fonts.googleapis.com/css?family=Nosifer+Caps

' rel='stylesheet' type='text/css'> for example for that font

Then apply it with some CSS with local file editor. Use the attribute font-family as this :
font-family: 'Nosifer Caps', cursive;

2)you can inspect with firebug the html and css code : so you can see if the bloc spotted have an id/class, in order to apply a font only to this bloc

3)please don't use comic sans ms, there are so many others


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#11 2011-12-11 23:18:17

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

Re: default font type & font size

going for the 'id' was way to do it, did manage to change the areas i wanted rather than the full site
firebug new best friend

I've had hours of fun and frustration with google fonts, hours looking through them to find the one that was just right, hours tweaking site settings, looked great - in Firefox, IE refused to show them


nothing wrong with comic Sans MS, does tend to wind up the occasional font snob though ;)
Its OK in certain situations, for user input, chat type things it works well, not so great for the more functional formal stuff like menus maybe

Offline

#12 2011-12-12 17:36:59

flop25
Piwigo Team
Registered: 1970-01-01
Posts: 3522
Website

Re: default font type & font size

^^

I still can help help about your ggogle font : do you have a link ?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#13 2011-12-13 01:22:27

lisaviolet
Member
Location: san diego, california
Registered: 2011-01-03
Posts: 310
Website

Re: default font type & font size

IGraham wrote:

nothing wrong with comic Sans MS, does tend to wind up the occasional font snob though ;)

"font snob"

*snicker*

That made me laugh.

Offline

#14 2011-12-13 09:45:47

IGraham
Member
Location: UK
Registered: 2011-09-28
Posts: 168
Website

Re: default font type & font size

"font snob"
Nothing wrong with having a pet peccadillo - as long as its kept on a lead


I'll give the Google fonts a miss, not exactly flavor of the month for me at the moment - any more problems with them and and i might end up with my own peccadillo


thanks for offering though

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013