Removing the text 'category archives' from the title in Retro-fitted theme

  • Author
    Posts
  • #1626670

    I’ve tried loads of different CSS codes and fixes from searching posts on the forum to try and remove the words ‘Category Archives’ from the titles of my blog posts – none of them seem to work for the ‘Retro-fitted’ theme I’m using.
    Can anyone help?
    Thanks

    The blog I need help with is irregulararts.com.

    #1626860

    hfzrhmn
    Member

    This CSS should hide the ‘Category Archives’ text but not the category title itself:

    body.category h1.loop-title {
    	position: relative;
        left: -9999px;
    }
    
    body.category h1.loop-title .single-category-title {
        position: relative;
        left: 9750px;
    }
    #1626878

    justpi
    Member

    Selector overkill… Simpler solution:

    .category .loop-title {
    font-size: 0;
    }
    .category .loop-title span {
    font-size: 24px;
    }

    #1626879

    Anyone there?

    #1626880

    Oops – sorry – trying those now – thanks

    #1626881

    hfzrhmn Brilliant it worked – thanks so much!

    #1626882

    justpi – that one works too – and simpler
    Thank you both very much – I was flummoxed and it’s so simple with the right code!
    Much appreciated
    :-)

The topic ‘Removing the text 'category archives' from the title in Retro-fitted theme’ is closed to new replies.