Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you give a specific example of which words are supposed to be in bold? When I look at this post, I see the phrase Final words: in bold, down at the bottom.

    You should note that by default, WordPress strips off HTML tags when it displays excerpts on the blog page. That is, on your blog page, you’ll notice that only the first 55 words of each article is displayed. That little bit is called an excerpt. Any formatting of the excerpt is stripped off. The reason is that if the “end tag” of a phrase isn’t within the first 55 words, then the appearance of the rest of the page might get screwed up. For example, let’s say that you’ve bolded the phrase Final words: and the word Final happens to be the 55th word, so that words: doesn’t get output in the excerpt. There’s what’s called an “end tag” which signals the end of a bolded phrase, and that end tag also will not get output, so the rest of the page will get bolded unintentionally. So what WordPress does is to strip off any HTML tags (which controls things like formatting, links, etc) before it displays the excerpt. Some themes will override that behavior, but at the risk of having the occasianal excerpt with HTML creating unintentional consequences.

    WordPress does allow you to get around that. If you go and edit a post, if you scroll down, you should see a field labeled Excerpt. If you do not see such a field, click the Screen Options tab in the top right corner of the post editor, then check the box labeled Excerpt and the field should now be displayed. The Excerpt field allows you to create a manual excerpt, and WordPress will not strip off any formatting tags. This allows you to create any excerpt you want, any size you want. Note that some themes will ignore the Excerpt field, other themes will still strip off any formatting in the Excerpt field, you just have to experiment with your own theme.

    Thread Starter Rachit Singh

    (@rachit-singh)

    First Thanks for you time and patience.
    There is something very strange You told me you can see Final words in Bold. Whereas I am not seeing it as Bold I am using Mozilla Firefox on p4 computer with 2Gb Ram and 500GB Is the Issue about PC?
    Well Can you guide me I am doing well in Blogging or not

    OK, that’s the problem. The theme doesn’t include a CSS rule for the < strong > tag, which indicates a bold phrase, so it relies on the browser’s stylesheet to provide the styling. Chrome (which I use) has a rule defined for it in its internal stylesheet but Firefox does not.

    I don’t know if your theme has an option to add Custom CSS, but if it doesn’t, JetPack (which I see you have installed) has a Custom CSS option that you can enable (go to JetPack > Settings and activate Custom CSS). If you’re using JetPack’s custom CSS option, then you would go to Appearance > Edit CSS from the dashboard and enter this CSS rule:

    strong, b {
       font-weight: bold;
    }

    Thread Starter Rachit Singh

    (@rachit-singh)

    Thanks It WOrked.
    One last question
    I want to have main content width 532 and sidebar as it is..
    Can you help

    You want to make the main content area smaller? That’s unusual, most people want to make theirs bigger.

    The sidebar’s width is currently 310px.
    The content width (which has the blog entry) is currently 660px.
    The main-content width (which contains both the content and the sidebar) is currently 997px.

    What you can do is to make the main-content width auto so it automatically resizes to its content, then set the width of the content area to 532px, with a margin of 27px to maintain the spacing between the content and sidebar:

    #main-content {
       width: auto;
       display: table;
    }
    
    .content {
       width: 532px;
       margin-right: 27px;
    }
    
    #sidebar {
       float: left;
    }
    @media only screen and (max-width: 985px) {
       .content {
          margin-right: 0;
       }
    }
    Thread Starter Rachit Singh

    (@rachit-singh)

    Thanks For Your time and Patience It worked !
    Thanks a lot !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Text Not Getting Bold’ is closed to new replies.