Community Forums › Forums › Archived Forums › Design Tips and Tricks › Parallax Pro: The font weight property is not chaging on some of the pages.
Tagged: css, media queries, parallax-pro, php, responsive design
- This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago by Krishan.
-
AuthorPosts
-
January 19, 2015 at 4:01 pm #137983KrishanMember
Hi there,
I am having trouble with updating the font on the website at http://www.ew3tech.com.
The website is using parallax pro theme. I followed the instructions from http://www.studiopress.com/tips/google-web-fonts.htm by Brian Gardner.
I added the following line at the beginning in the style.css:
@import url(http://fonts.googleapis.com/css?family=Roboto);
and then changed the font family for body element to font-family: 'Roboto', sans-serif;
The problem; I am getting is that even though the font is changed to Roboto but it is coming as bit too thick as you can see it on http://www.ew3tech.com/about webpage. Amazingly; it is coming perfectly fine on http://www.ew3tech.com/contact webpage but it is showing minute flash in the font. The font flashes from thick to thin.
I checked it using the developer tools in the browser but there seems to be no difference between other pages on the website and the contact page on the website.I even tried to change the font in the functions.php of the child theme but it did not make any difference at all. I want lean font as on the contact page as opposed to the thick font on other pages of the website which can be described by the font weight property. The change in the font weight property are not making any difference on the pages of the website except the contact page. Please try in the developer tools.
It seems like that the font weight property is being overridden in the other part of the style sheet. I looked but could not find. Please help.
Kulwinder Krishan
I love helping people with Any Genesis Theme Customizations.
Check my website at http://www.ew3tech.comJanuary 20, 2015 at 7:38 am #138032Erin UlrichParticipantI can see Roboto consistently throughout your site. Did you get the problem resolved, or do you still see something different?
Erin Ulrich | Genesis Recommended Developer | Design by Insight
January 20, 2015 at 8:47 am #138037KrishanMemberThanks for replying back Erin. I got the reply back studiopress team explaining me that I need to choose the font-weight in the @import rule.
While you are there, May I ask you to help me to align the circles in the center in the iphone and android mobile view under the design and development section of the homepage at http://www.ew3tech.com.
Please check the design and development section of the website in the mobile devices and you will understand what I am trying to say.
I tried to align them in the style.css but unfortunately after spending hours could not make them work.Thanks in advance
Kulwinder Krishan
I love helping people with Any Genesis Theme Customizations.
Check my website at http://www.ew3tech.com -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.