Forum Replies Created
-
AuthorPosts
-
Hi Rikard
Please see below my login details.
Thanks
FleurThank you so much!!! Your support is amazing!
Sorry correct login below, and here’s a screen shot: http://fleurmurphy.com.au/wp-content/uploads/2015/12/Screen-shot-new.jpg
The text seems to have a separate mouseover to the image – it would be great if they worked together, and if when I mouseover the white space behind the text, both the text and the image changed.
At the moment I can get:
– The image mouseover working when I mouseover the image
– The image mouseover working when I mouseover the white space
– The image and text mouseovers working when I mouseover the text.Oh that is really weird. something must have gone wrong when I did this! Sorry! Details in the private content comment below.
Any luck with this, Josue!
Fixed it by removing the quotation marks…
Actually I’ve been working through this as I wait and have been able to find the correct class to work with. I am able to change everything except the font family. It just doesn’t seem to be reading/recognising the font. Hope you can help :)
PS I’m trying to do this within style.css in my child theme.
Hi Basilis
I have pasted the code provided by myfonts.com in my Google Analytics Tracking Code field, as instructed by Yigit. I’ve also pasted in the code below for your reference.
The trouble is, it’s not just this font that doesn’t seem to be working – I can’t seem to target any specific elements in my CSS, and I suspect it’s because everything is a class rather than a straight up H1 or H2.
For example, if I’m trying to change the font/size of the main heading on my home page, when I inspect the element, this is what I see: <h2 style=”font-size:110px; ” class=”avia-caption-title” itemprop=”name”>Fleur Murphy</h2>
I’m not great with coding but I thought it should be a simple matter of targeting that particular class using the following CSS, but maybe I’m wrong?
h2.avia-caption-title {
font-family: “Frontage Bold”;
color: red;
}By the way, I’m working from a child theme, and there is no other CSS in my style sheet.
+++
Paste this code into the <head> of your HTML to embed these fonts.
You are only permitted use of these webfonts for testing purposes in non-production environments for 30 days. You can apply them in your css using:
font-family: ‘Frontage Bold’
font-family: ‘Frontage’+++
<script type=”text/javascript”>
(function() {
var path = ‘//easy.myfonts.net/v2/js?sid=222386(font-family=Frontage+Bold)&sid=222389(font-family=Frontage)&key=ha27hZg2B2’,
protocol = (‘https:’ == document.location.protocol ? ‘https:’ : ‘http:’),
trial = document.createElement(‘script’);
trial.type = ‘text/javascript’;
trial.async = true;
trial.src = protocol + path;
var head = document.getElementsByTagName(“head”)[0];
head.appendChild(trial);
})();
</script>Haha no wonder I didn’t know where to put it :) Thanks Yigit.
Thank you!!
-
AuthorPosts