• 0

Blog page title's


Question

Posted · Report post

Hi All 

 

I have being trying to sort out the titles on the blog page with no success. URL: https://www.magva.com

 

The CSS I have include is:

h2 {
	font-family: 'Melbourne', sans-serif;
  	font-weight: 600;
  	font-style: normal;
  	color: #925c21;
  	font-size: 16px;
}

h4 {
	font-family: 'Melbourne', sans-serif;
  	font-weight: 600;
  	font-style: normal;
  	color: #925c21;
  	font-size: 16px;
}

If I pop an a after the h2 or h4 and before the curly brackets, it losses all formatting replacing with large font size that is defined in the theme fonts.

 

As it is, it's not rendering the font the color that I was hoping for. 

 

Also is it possible to force's caps on the the titles, have tried adding:

text-transform: capitalize;

and 

text-transform:uppercase;

with no success.

 

Thanks in advance

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

If I understand you correctly, try this:

 

.entry-title a {
color: #925C21;
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there, try entering as below, including the h tags you want to include.

 

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a, a.site-title > a, .entry-title a > a {
    color: #925c21;
    text-transform: capitalize;
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks James, but not luck. Still getting the same result my end.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Bumping this thread to see if we can figure it out.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Not sure what your issue is, the CSS you're using is loading ?

 

http://d.pr/i/Dmwu

Or have I misunderstood ?

 

Also, as far as I can see this is your own generated code, we do not provide support or assistance, when the code is user created.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Danny

 

The issue I am having is on the blog page of the site https://www.magva.com/blog/ Can't get the manage to get the colours working for the font types here. 

 

The code, you help me that one a few weeks back I just developed it a little further. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

As always Danny you are an absolute champ. Can't believe it was that simple. Is it possible to force caps also? 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

text-transform: uppercase;

FYI: my section may be of use to you now or in the future: http://www.pagelines.com/shop/sections/pagetitle/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now