Tagged: x
-
AuthorPosts
-
August 7, 2016 at 9:11 pm #1121488
Missy SParticipantHello,
The site im working on uses 300 font weight but I need the 1st paragraph to weigh 400. I put this in css but I see no change. Please help.
.single-post p:first-of-type {
letter-spacing: 0.1em;
margin: 0 -9% 2.15em !important;
font-weight: 400 !important;
font-family: “Roboto”,sans-serif;
}August 7, 2016 at 9:36 pm #1121504
Rue NelModeratorHi There,
Thanks for writing in! Your code is valid and correct. It should have work if you have the correct order of the element. To assist you better with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thank you.
August 7, 2016 at 10:51 pm #1121563
Missy SParticipantThis reply has been marked as private.August 7, 2016 at 11:04 pm #1121571
Rue NelModeratorHello There,
The code should have work but then the font weight loaded along with the Google font is only 300. You should also select the font weight in the customizer. Or at least load up the font 400 for Roboto. You can make use of this code in your customizer, Appearance > Customize > Custom > CSS at the very top before any of your custom css
@import url(https://fonts.googleapis.com/css?family=Roboto:300,700,400,700italic);Hope this helps.
September 1, 2016 at 5:56 am #1156657
Missy SParticipantHi,
My child theme broke so in my attempt to restore my css codes, I can not figure out how to target p-meta on single pages. The p-meta is being controlled by the first of type paragraph above. How can I stop title and p-meta from reacting to this:
.single-post p:first-of-type {
letter-spacing: 0.1em;
margin: 0 -9% 2.15em !important;
font-weight: 400 !important;
font-family: “Roboto”,sans-serif;
}September 1, 2016 at 5:58 am #1156663
Missy SParticipantThis reply has been marked as private.September 1, 2016 at 6:28 am #1156685
NicoModeratorHi There,
Try adding this code below:
.postid-563 .single-post .p-meta a{ //css code here }Hope it helps.
Let us know how it goes.
Thanks.
September 1, 2016 at 6:48 am #1156717
Missy SParticipant.single-post .p-meta a worked! Thanks Nico!
September 1, 2016 at 7:01 am #1156726
LelyModeratorYou’re welcome Missy!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1121488 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
