• Resolved crazyleaf

    (@crazyleaf)


    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 ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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;
    }

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

    Thread Starter crazyleaf

    (@crazyleaf)

    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 : https://www.crazyleafdesign.com/blog/

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

    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="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,300italic,300,600&subset=latin,latin-ext" rel="stylesheet" type="text/css">'. "\n"; }

    Thread Starter crazyleaf

    (@crazyleaf)

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

    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>

    Cancelled

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with strong or b style’ is closed to new replies.