Viewing 9 replies - 1 through 9 (of 9 total)
  • Link to your site?

    Thread Starter FranG

    (@frang)

    I don’t get the point, you use this:

    .format-icon:before {
        display: none;
        opacity: 0.2;
        padding-right: 10px;
        position: relative;
        text-transform: none;
        top: 8px;
    }

    So you’re hiding that icon with display:none;
    Where’s the code mencioned by Michael? You don’t use it. By the way that code works in posts pages, not in pages.

    Thread Starter FranG

    (@frang)

    Thank you for the answer.
    Yes I’m hiding the small default icon but I want to place, before the title, another icon with my own imag.
    What do you suggest?

    Once again, thank you

    Instead of what you’re using, use what Michael suggested.
    Let’s say you want hide the default icon everywhere except for pages and posts where you want to use your image:

    .article-container .format-icon:before{
        display: none;
    }
    .page article.page .format-icon:before, .single article.post .format-icon:before {
        display: inline-block;
        content: url(/wp-content/uploads/2014/02/feather.jpg);
    }

    Should work

    Thread Starter FranG

    (@frang)

    Thank you very much! It results perfectly!

    Wonderful 🙂
    Could you mark this topic as resolved?

    Thread Starter FranG

    (@frang)

    done! 😀

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Change Post/Page Icon & Title’ is closed to new replies.