WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] How to Delete Text in circles (8 posts)

  1. Selinvarol
    Member
    Posted 7 months ago #

    Hello,

    When I go to the menu and select a category or tag, it comes in a circle with the name and background it is written category or tag. I want to remove that and want only the title to be appear.

    The link is here.

    or this link.

    Thanks a lot.

  2. kaniamea
    Member
    Posted 7 months ago #

    Using the Custom CSS plugin you can modify the .page-header.

  3. Selinvarol
    Member
    Posted 7 months ago #

    I have the plug in but as I am a newbie I dont know how to write the code or how to modify

  4. batharoy
    Member
    Posted 7 months ago #

    Try this:

    .page-header h1 {
    color: rgba(255,255,255,.01);
    }
  5. kaniamea
    Member
    Posted 7 months ago #

    To remove the circles try adding this to your Custom CSS:

    .page-header h1 {
    	display: block;
    	float: left;
    	font-size: 36px;
    	font-size: 3.6rem;
    	line-height: 16px;
    	margin: 10px;
    	padding: 70px 20px 0;
    	width: 140px;
    	height: 110px;
    	text-align: center;
    }
  6. kaniamea
    Member
    Posted 7 months ago #

    In order to remove the words "tag" and "category" from the titles and have only the titles displayed you need to have a child theme first. It is easy to make one, see here http://codex.wordpress.org/Child_Themes

    Then add the archive.php code in the child folder and locate these lines:

    if ( is_category() ) {
    printf( __( 'Category %s', 'spun' ), '<span>' . single_cat_title( '', false ) . '</span>' );
    } elseif ( is_tag() ) {
    printf( __( 'Tag %s', 'spun' ), '<span>' . single_tag_title( '', false ) . '</span>' );

    replace them with:

    if ( is_category() ) {
    printf( __( '%s', 'spun' ), '<span>' . single_cat_title( '', false ) . '</span>' );
    } elseif ( is_tag() ) {
    printf( __( '%s', 'spun' ), '<span>' . single_tag_title( '', false ) . '</span>' );
  7. Selinvarol
    Member
    Posted 7 months ago #

    Thanks to all and Batharoy.
    It works very well.

    Bathory, I have applied your code and how I can modify it to change the circle color to orange color.

    Selin.

  8. batharoy
    Member
    Posted 7 months ago #

    background: #d3643b;
    just below the color line but inside the curly bracket, same orange as the + circles.

Reply

You must log in to post.

About this Theme

About this Topic