WordPress.org

Forums

Hueman
[resolved] Problem with strong or b style (8 posts)

  1. crazyleaf
    Member
    Posted 1 year ago #

    It seems I have a problem with the "strong" or "b" styles in the sense that they do not seem to be applying. To put it shortly there's no bold. Normally the text between "strong" or "b" tags should be bolded. Here it's not. Can you please help ?

  2. salsaturation
    Member
    Posted 1 year ago #

    Hi Crazyleaf

    If you don't already have a custom.css you should install a plugin like custom CSS plugin then add the following to the custom css area.

    strong, b {
    font-weight: bold;
    }
  3. Alexander Agnarson
    Member
    Theme Author

    Posted 1 year ago #

    Strong works fine on my end. Where are you having the issue? The excerpt?

  4. crazyleaf
    Member
    Posted 1 year ago #

    I am having this issue all over. I can't add strong to my logo text nor in my normal article text. My website is : http://www.crazyleafdesign.com/blog/

    I have tryed the solution suggested by salsaturation and it's still not working. Please advise.

  5. Alexander Agnarson
    Member
    Theme Author

    Posted 1 year ago #

    I see the bold / thin in your logo for example.

    Make sure that your google font choice is loading the 800/700 font weights if you are going to use them. By default the theme loads only 300, 400 and 600 weight - 600 being used as bold, for pagespeed.

    If you are using Open Sans, modify this line in /functions/dynamic-styles.php (with child theme preferably):

    if ( ot_get_option( 'font' ) == 'open-sans' ) { echo '<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,300italic,300,600&subset=latin,latin-ext" rel="stylesheet" type="text/css">'. "\n"; }
  6. crazyleaf
    Member
    Posted 1 year ago #

    managed to figure it out. Thank you very much. Awesome support man. I'll mention your work in my future articles.

  7. hsanchez98
    Member
    Posted 1 year ago #

    In the file style.css, I find the next lines:

    b,
    strong {
    	font-weight: 700; /* Don't modify. Don't work text with strong  */
    }

    In the theme Twenty fourteen 700 is bold. If you change 700 to 500 for sample, you can not see bold text in your page or post when you select your text into <strong> and </strong>

  8. Perkin5
    Member
    Posted 10 months ago #

    Cancelled

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags