Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Q1: a) I think it requests CSS syntax only, it wouldn’t make sense to mix any other
Q2: a) The code is font-size
All modifications to the theme’s files will be erased once the theme updates. Always make modifications to a Child Theme.
But to do child theme I need ftp access which I don’t have…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Chris, if you need further support, create your own thread and I’m sure someone will be able to help.
Sorry, ‘Chris G’ & ‘Forest Skills’ are one and the same person, ie me.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What happened to your FTP credentials?
I have an ‘IT Man’ who does the hosting, etc for me…..
Anyway, I’ve just been testing some stuff on my testbed website… and it works!! Well, sort of. :\
For future reference the code I used is:
/* Mantra Custom CSS */
#content h1 {
font-weight:bold; /* Making the titles bold */
font-size:1.25em; /* Increasing the font size */
}
#content h2 {
font-weight:bold; /* Making the titles bold */
font-size:1.13em; /* Increasing the font size */
}
#content h3 {
font-style:italic;/* Making the titles italic */
font-weight:bold; /* Making the titles bold */
font-size:0.5em; /* Decreasing the font size */
Now to figure out how to import my custom 404.php page into there as well…
Chris
Just thought I’d add a little to this so that most of the options are covered, should anyone want to copy this example;
Delete the /* Mantra Custom CSS */ as it doesn’t do anything, then paste in the following code;
#content h1 {
font-style:normal; /* Options are; 'normal', 'italic', 'oblique' */
font-weight:bold; /* Options are; 'lighter', 'normal', 'bold', bolder' */
font-size:1.5em; /* 1em = font 16. Divide required font size by 16 to get em value */
font-variant:normal; /* Options are; 'normal', 'small-caps' */
color:#0a8bf5; /* Changing the font colour */
}
#content h2 {
font-style:normal; /* Options are; 'normal', 'italic', 'oblique' */
font-weight:bold; /* Options are; 'lighter', 'normal', 'bold', bolder' */
font-size:1em; /* 1em = font 16. Divide required font size by 16 to get em value */
font-variant:normal; /* Options are; 'normal', 'small-caps' */
color:#0a8bf5; /* Changing the font colour */
}
#content h3 {
font-style:normal; /* Options are; 'normal', 'italic', 'oblique' */
font-weight:italic; /* Options are; 'lighter', 'normal', 'bold', bolder' */
font-size:0.75em; /* 1em = font 16. Divide required font size by 16 to get em value */
font-variant:normal; /* Options are; 'normal', 'small-caps' */
color:#D41019; /* Changing the font colour */
}
#content p{
font-style:normal; /* Options are; 'normal', 'italic', 'oblique' */
font-weight:normal; /* Options are; 'lighter', 'normal', 'bold', bolder' */
font-size:0.9em; /* 1em = font 16. Divide required font size by 16 to get em value */
font-variant:normal; /* Options are; 'normal', 'small-caps' */
}
Enjoy 🙂
Still haven’t figured out how to import my custom 404.php code… 🙁