"New" Icon

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 9 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4380

    jltrinka
    Free User
    Post count: 183

    Hey, I want to change the “New” icon that displays over new listings to one that I created. The current image is 24x24px, and the one I want to use is 40×40.

    How do you recommend going about this?

    #4398

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    upload the new image on your theme’s images folder.

    add this to your theme style.css file

    
    
    .geodir_new_listing {
        background: url("/images/nameofyourfile.png") no-repeat scroll left top rgba(0, 0, 0, 0);
        height: 40px;
        margin-left: 5px;
        margin-top: -5px;
        position: absolute;
        right: 0;
        text-indent: -9009px;
        top: 0;
        width: 40px;
    }

    Save and check your website, make sure positioning is looking good, if it isn’t adjust margins in above css.

    Thanks

    #4414

    jltrinka
    Free User
    Post count: 183
    This reply has been marked as private.
    #4421

    Paolo
    Site Admin
    Post count: 31206

    Add !important after height and width value.

    Example: height: 80px !important;

    Thanks,

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket