• Resolved ellyhails

    (@ellyhails)


    Hi all – I’m tearing my hair out trying to work this out and any help would be really appreciated, thank you in advance. I’ve searched the forum but cannot find anything helpful.

    I have a Make Child theme on https://www.caribbeanlivingblog.com. I’ve managed to get the post titles non-bold on the main homepage, but if you click through to any of their individual pages the title is in bold. And I would like it to be non-bold. It never used to be like this, not sure how it happened, maybe a WP upgrade?

    I tried that firefox buggy thing and all I can find is:

    .entry-title, .entry-title a {
    font-size: 4rem !important;
    }

    .has-left-sidebar.has-right-sidebar .entry-title {
    font-size: 2.7rem;
    }

    Have tried playing around with these two but doesn’t seem to be doing any good.

    Any ideas?? Thank you!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ellyhails

    (@ellyhails)

    Oh ps. and I’ve just noticed that also the comments header and footer bits are in bold on the individual posts. Thanks!

    Thread Starter ellyhails

    (@ellyhails)

    Any ideas anyone please?? Would really appreciate it, thank you!

    Hi Elly,

    A few questions before I help you:

    *Did you develop this theme or is the theme called Make Child theme a theme on its own
    *Did you buy the theme(Make Child) or did you have a different theme and used Make Child to create this theme.

    In any case, after inspecting your theme I noticed that there is in-line css on the index.php page. This is a BIG no-no. All css needs to be kept in stylesheets and if in-line styling is used at minimum only interact with one or 2 HTML objects, usually because of java script you may have. Anyway Migrating code to CSS can be a long tedious process so we won’t bother with that now. If you want I can help with this at a later stage. ANYWAY back to the problem at hand. To remove the bold from the single post titles you’ll have to look for a particular line in style.css

    In style.css look for:
    /*———————————————————
    6. Posts (_posts.scss)
    ——————————————————– */
    It should be on line 2230-2232, this may vary, then look a line below this, it should say:

    .entry-title {
    Then look for font-weight:bold
    and change bold to normal or remove the line entirely. Save style.css and reload the page.

    Hope this helps ??

    Thread Starter ellyhails

    (@ellyhails)

    Aha! Brilliant! Thanks very much, I really appreciate it, all sorted.

    To answer your questions, it’s the Make theme by WP and I made my own child theme for it. I haven’t done anything to the index.php page though. I’ve made a bunch of changes to the style.css and one change to the functions.php (to get back all my old comments that were lost when I migrated something or other) but none to the index.php. Is it a problem??! You’ve worried me haha.

    Thanks again!

    Hi Elly,

    Nope no problem, the idea behind a CMS and CSS is to seperate your idea(blog, website) into different aspects that come together. The CMS works with PHP and SQL to store and retrieve your website data, posts, news, articles etc. The look and feel of your site(Design) is controlled by the CSS and the HTML. While the PHP pages with html control the structure. Your index.php and and some of your other php pages has inline CSS. This means there is design code(CSS) where there should only be structure code(PHP and HTML). In any case since you didn’t modify the index.php the original designer of the template didn’t do a good job XD.

    Did you still need help with the comments header and footer?

    Thread Starter ellyhails

    (@ellyhails)

    Aah I see, thank you for explaining. Oh bummer, yeh I guess I can’t do anything about that then, I’ll just cross my fingers and hope nothing breaks… I figured out the comments header and footer yep, just used the same code you sent over for those two.

    Thanks again, really appreciate it!

    Awesome.

    Close the topic if all is well. Good luck with your business and I hope you have a prosperous future ??

    Thread Starter ellyhails

    (@ellyhails)

    Thanks very much, you too! Yep I’ve closed the topic I think. All the best!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Individual post title in bold’ is closed to new replies.