• Resolved Selinvarol

    (@selinvarol)


    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Using the Custom CSS plugin you can modify the .page-header.

    Thread Starter Selinvarol

    (@selinvarol)

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

    Try this:

    .page-header h1 {
    color: rgba(255,255,255,.01);
    }

    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;
    }

    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>' );
    Thread Starter Selinvarol

    (@selinvarol)

    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.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to Delete Text in circles’ is closed to new replies.