Forum Replies Created
-
AuthorPosts
-
Genesis Child
MemberWhen I added this code it crashed my whole site and I now can't even log into my website...
any ideas what may have gone wrong and how I fix this problem?
March 24, 2014 at 3:14 pm in reply to: Two lines of CSS in Stylesheet pertaining to font size per header tag. #96473Genesis Child
MemberInitially I just changed the px value and nothing happened front end (no visible change to font size), so I went in a changed the rem value and the font sizes changed.
Anyway thank you.
I have just gone through and made sure all the px's match the relative rem, just to be clean.
Again thanks,
Genesis Child
March 24, 2014 at 1:00 am in reply to: Two lines of CSS in Stylesheet pertaining to font size per header tag. #96352Genesis Child
MemberOk ok. I think I just figured this one out on my own to... but a confirmation will see my query set to resolved.
I assumed that rem and px was standardised as values. That sentence probably makes no sense. I'll try again. It appears as though the rem is set by the user in relation to the px. So one theme might relate rem as a percentage of px completely different to another. So it appears as though the rem is 10% of the value of the px in the genesis sample child theme.
Is this right?
So 30px is 3rem and 24px 2.4rem...
Is my understanding correct?
As I am now planning on just multiplying the rem by 10 to get the equivalent px value... so I can match them...
but my initial question still remains... are these two values just there in order to cater towards how different browsers read the code i.e. there is two just in case the browser can't read one or the other.?
Genesis Child
MemberYou my friend are a Legend! Thank you very much. My mind is now at ease regarding this matter. Where is the like button on this forum? lol I would have just given you a thumbs up!
RESOLVED!
Thanks
Genesis Child
Genesis Child
MemberOk. So I have concluded the answer to my first question is that yes it is ok and the best way to do this.
The second question remains unresolved for me at present.
Genesis Child
MemberAnswer to question already found.
Sharing is caring. Here is the link with the answer.
-
AuthorPosts