-
AuthorPosts
-
April 21, 2014 at 8:00 am #35517
What file do I edit to change the size of the font and the font-family in the footer? And what is the syntax?
The default font is far too small and hard to read for my purposes. I couldn’t find any documentation on editing the style sheet…
My site: burningcities.com
Thanks!
KaliApril 21, 2014 at 9:42 am #35543You can edit this with html or css mock up on the footer content box on the optimizer or in the individual widgets you used in the footer widget section.
An example
<span style="font-size: x-large;">Your Text</span>
You can use the values large, x-large ext or you can use em or px. Whatever you’re comfortable with. I’m not sure if any of them are outdated or prefered. I just know they all work.
April 21, 2014 at 11:48 am #35584I did manage to change them in the footer by using this css code in the Customizer CSS box:
div.x-colophon-content p { font-size: 20px; font-family: 'Nunito', sans-serif;} div.x-colophon-content p a:hover {color:red;}
and adding this to the javascript box:
WebFontConfig = { google: { families: [ 'Nunito:400,700:latin' ] } }; (function() { var wf = document.createElement('script'); wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })();
But… I want to make the changes on the child theme stylesheet instead of cluttering up those small boxes, because I think I will make a lot of changes. I tried editing the styles.css sheet at the top level of the x-child-renew directory, but no joy. Am I editing the wrong style sheet? What code should I paste, and where?
Thanks!
April 21, 2014 at 10:53 pm #35759Hi Kali!
Thank you for the update.
Do you mind if we take a look at the website? Try to add !important on the css values when you add them on style.css.
div.x-colophon-content p { font-size: 20px !important; font-family: 'Nunito', sans-serif !important; } div.x-colophon-content p a:hover { color:red !important; }
We will give you a better response once we have taken a look at the website.
Thanks!
April 22, 2014 at 11:45 am #35998This reply has been marked as private.April 23, 2014 at 2:22 am #36198Hey Kali,
The child theme is best used for your own IDs and classes. Overriding X styles, you need to place the CSS in the Customizer. Please feel free to post your questions in separate posts according to topic.
We’re here to help.
Thanks.
-
AuthorPosts