WordPress.org

Support

Support » Plugins and Hacks » Category Posts Widget » [Plugin: Category Posts Widget] Bold Post Title

[Plugin: Category Posts Widget] Bold Post Title

Viewing 7 replies - 1 through 7 (of 7 total)
  • Oh sorry, did it . Thanks 🙂

    How did you made this?Also can i change the post tittles fonts?

    Thanks

    File: cat-posts.php

    search this

    <a class="post-title" href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>

    Replace with

    <a class="post-title" href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent link to <?php the_title_attribute(); ?>"><strong><?php the_title(); ?></strong></a>

    yes font can be changed, but if you know a little bit of html or css, you would know now where to add the code, but if you dont then google about how to use font through css with html and add it before or after it added the tag.

    Thank you 🙂

    Thank you my friend.I search to all my Css files of my theme and also all php files etc..
    Still can’t find the size font code ofr this plugin..
    Any recomendations will be apreciated.

    This plugin uses your theme style.css to style post titles. Use firebug or source code to find out the div ID for your category posts widget, then add in style.css of your child theme something like this:

    #widget divID {
    }
    .post-title {
    styling code…
    }

    Simple add div ID and desirable styling code and that’s it!

    Extremely helpful! For reference, here was what i used for my code:

    #widget categoryposts-3 {
    }
    .post-title {
    	text-align: center;
    	font-weight: bold;
    	margin: 0px;
    	padding: 0px;
    }
    .post-date {
    	text-align: left;
    	font-style: italic;
    	margin: 0px;
    	padding: 0px;
    }
    .cat-post-item {
    	text-align: left;
    }

    It works. I confused how to find it but then understand that it is widget — not settings for all widgets. I have what I dreaming about. Thank you so much.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Category Posts Widget] Bold Post Title’ is closed to new replies.
Skip to toolbar