Jump to content

Archived

This topic is now archived and is closed to further replies.

redstate

Highlight/Typography question

Recommended Posts

redstate    0
redstate

At Typography, I've selected Source Sans Pro G for my Primary Text and Text Headers but can't seem to get the same font in my Highlight under my Rev Slider. I used code that you folks gave me for the Highlight and I see where to change the font. But when I enter source sans pro g it publishes some serif typeface instead.

 

How do I change the Highlight text to Source Sans Pro G?
 

See: americansendingabuse.org

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

can you give us the code you are using and will be able to highlight where the error is. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
redstate    0
redstate

}

#highlightummxun .highlight-head {

       line-height: 2em;

       font-family: source sans pro g;

       text-align:  left;

}

 

The above is what I was shown.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

This is likely caused by you having calibri font also set, change that font to Source Sans too.

 

If you have calibri set on purpose for your headers and want to keep it that way, but have the Highlight section using Source Sans Pro too.

 

You will want to use custom CSS, the code you provided above isn't valid, why do you have } above the code ?

 

You also do not have the font-family set correctly, use the following instead.

 

#highlightummxun .highlight-head {
font-family: 'Source Sans Pro', sans-serif;
}
 
You can see here for more information on how to add the font via CSS correctly (see #4 on this page) - http://www.google.com/fonts#UsePlace:use/Collection:Source+Sans+Pro

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
redstate    0
redstate

I want it to align left and want the line spacing as it currently is at 2em. Shouldn't I include both in the code too? Something like:

 

#highlightummxun .highlight-head {
        line-height: 2em;
        font-family: 'Source Sans Pro G', sans-serif;
        text-align:   left
}

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Make sure you have the semi colon in place after the text alignment CSS. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
redstate    0
redstate

Sorry but could you show me the code as you mean it? The above code is basically want Danny sent me, although I had to change it a bit to align left. 

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Could you take any code you have a problem with and run it through the validator http://jigsaw.w3.org/css-validator/

 

 The validator will tell you where the errors are. We are limited to the support we can provide with Custom CSS as PageLines did not create CSS.

 

Make sure you have the semi colon in place after the text alignment CSS. 

 

read my comment above again and it will tell you where the issue is - if you are not sure run your code through the validator and it will tell you exactly where the issues are 

 

I will get into trouble for this but the issue is that there is no Semi colon on the text alignment css

 

text-align:left ;

 

The issue you are having is not with the code that danny gave you but the code you added yourself to it. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
redstate    0
redstate

Thank you! Hope you don't get in trouble. You're always very helpful and I appreciate it!

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Hello @redstate 

 

We are here to help please do not get me wrong. :) 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • Claudio
      By Claudio+
      I have a problem with the typography settings. I set the H1 class with "font-weight: 300;" (Very thin weight), and "font-size: 50px;" (To have considerable evidence of my problem). Unfortunately, as you can see on the screenshots, those setting don't have any incidence on the site, Infact in the home page editor there is a trial title called "Text test", bold, and 26 px approximatly sized.
      Why the typography settings are not transposed on the site? Where I wrong?


    • Raju Gupta
      By Raju Gupta
      On Socrato.com I am using DMS 2 and few pages are showing the parent page in top navigation highlighted and some are not showing
      Overview and SAT are both pages under EXAMS show they are showing different behavior.


    • Fabio
      By Fabio+
      Hello, I do not know how I did it but the text of "Highlight " that before was now white is black , how can I get it back white ?
    • Fabio
      By Fabio+
      Hello, I have a problem using "Canvas Area" and "Highlights", in a page insert "Canvas Area" and later in "Highlights", the problem is that when I go to remove it from the pages you do not want to see, also disappears from page instead want to see .. even if I enter the ID page.
      I tried and tried with other funsioni as "Testimonials", but the result does not change ..
      How can it be done?
      Thank you!

    • Fabio
      By Fabio+
      Good morning, I would insert the pages of "Highlight " but will not let me do it, this happens to me with other functions, you can suggest me how to do and it depends on the type of purchase?
      I bought PinsPro Standard Package may be this, thanks!
×