Re: [xwiki-users] Changing Global Text Style Settings
For the sake of completeness I thought I would report back that I did end up editing the color theme to make my modifications except for the font size. All the edits to the color theme worked great but for some reason changing the base font size grossly enlarges the header size. Making this same change in the variables.less file works as intended by enlarging text but leaving the other element sizes alone. Regards, Jesse > On Mar 4, 2016, at 4:26 AM, Marius Dumitru Florea >wrote: > > Have you tried editing the color theme? (or creating a new color theme). > The color theme editor has a Typography section > http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Application#HHowtomodifyatheme > . > > Hope this helps, > Marius > >> On Thu, Mar 3, 2016 at 8:04 AM, Personal wrote: >> >> I have been looking around for this but coming up blank. Can anyone point >> me in the right direction as to how you change the default text styles? I >> am just looking to tweak the header and body font sizes and font family >> across the entire wiki. I don’t want to change the text for other elements >> like the drawer, buttons, panels etc. >> >> Thanks for any information that you can provide. >> >> regards, >> >> Jesse >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Changing Global Text Style Settings
Thanks for the idea. Using Chrome's inspect element to look at the CSS and a little grepping in the skins folder; I found the file I was looking for here: /usr/lib/xwiki/skins/flamingo/less/bootstrap/variables.less Within this file you can easily update the preferred fonts and size, including switching between sarif and sans-sarif font styles. I edited the file directly but I suppose good form would be to use the skin override options to make the change stick after an upgrade. Also I had to restart the tomcat server to get the LESS to rebuild, though as I recall there is a more sophisticated way to make that happen while the server is up. Thanks again for your help! Regards, Jesse > On Mar 3, 2016, at 4:29 AM, Pascal BASTIEN <pbasnews-xw...@yahoo.fr> wrote: > > Hello, > > You can use a stylesheetextension object + CSS instruction (and firebug to > identify id/class elements to modify) > http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMinimalStyleSheeteXtension > > Pascal B > > > > En date de : Jeu 3.3.16, Personal <je...@abrightfamily.com> a écrit : > > Objet: [xwiki-users] Changing Global Text Style Settings > À: "XWiki Users" <users@xwiki.org> > Date: Jeudi 3 mars 2016, 7h04 > > I have been looking around for this > but coming up blank. Can anyone point me in the right > direction as to how you change the default text styles? I am > just looking to tweak the header and body font sizes and > font family across the entire wiki. I don’t want to change > the text for other elements like the drawer, buttons, panels > etc. > > Thanks for any information that you can provide. > > regards, > > Jesse > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Changing Global Text Style Settings
Yes, I did. Unfortunately this appears to edit the entire wiki, as changes to the size settings affect the header, etc. severely impacting the appearance of the overall wiki such that I wonder how it could be useful. Adjusting the color here does work but unfortunately color is not one of the properties I want to alter. I am still looking for an easier method to accomplish this change. In previous versions of xwiki it appeared there were CSS files dedicated to each font style which seemed relatively straight forward to edit or add new styles. Now that xwiki uses LESS I don’t see equivalent files. Any additional advice is welcome. Regards, Jesse > On Mar 4, 2016, at 4:26 AM, Marius Dumitru Florea >wrote: > > Have you tried editing the color theme? (or creating a new color theme). > The color theme editor has a Typography section > http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Application#HHowtomodifyatheme > . > > Hope this helps, > Marius > >> On Thu, Mar 3, 2016 at 8:04 AM, Personal wrote: >> >> I have been looking around for this but coming up blank. Can anyone point >> me in the right direction as to how you change the default text styles? I >> am just looking to tweak the header and body font sizes and font family >> across the entire wiki. I don’t want to change the text for other elements >> like the drawer, buttons, panels etc. >> >> Thanks for any information that you can provide. >> >> regards, >> >> Jesse >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Changing Global Text Style Settings
Have you tried editing the color theme? (or creating a new color theme). The color theme editor has a Typography section http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Application#HHowtomodifyatheme . Hope this helps, Marius On Thu, Mar 3, 2016 at 8:04 AM, Personalwrote: > I have been looking around for this but coming up blank. Can anyone point > me in the right direction as to how you change the default text styles? I > am just looking to tweak the header and body font sizes and font family > across the entire wiki. I don’t want to change the text for other elements > like the drawer, buttons, panels etc. > > Thanks for any information that you can provide. > > regards, > > Jesse > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Changing Global Text Style Settings
Hello, You can use a stylesheetextension object + CSS instruction (and firebug to identify id/class elements to modify) http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMinimalStyleSheeteXtension Pascal B En date de : Jeu 3.3.16, Personal <je...@abrightfamily.com> a écrit : Objet: [xwiki-users] Changing Global Text Style Settings À: "XWiki Users" <users@xwiki.org> Date: Jeudi 3 mars 2016, 7h04 I have been looking around for this but coming up blank. Can anyone point me in the right direction as to how you change the default text styles? I am just looking to tweak the header and body font sizes and font family across the entire wiki. I don’t want to change the text for other elements like the drawer, buttons, panels etc. Thanks for any information that you can provide. regards, Jesse ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users