Custom field examples – CSS

This topic contains 6 replies, has 3 voices, and was last updated by  Elise 6 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #429254

    Elise
    Expired Member
    Post count: 58

    I have followed the instructions on this page (https://wpgeodirectory.com/docs/custom-field-examples/) and have mostly got it working. Just need some CSS advise. The image doesn’t sit properly in the business info box. What do I need to add to my CSS please?

    
    
    .geodir_awardfinalist {
    float: left;
    display: block; 
    clear:none !important;
    margin: 3px 3px 3px 0px;
    background: white;
    background-image: url("/wp-content/uploads/2018/05/award-finalist.png");
    background-repeat: no-repeat;
    color: transparent;
    font-weight: 400;
    width: 78px;
    height: 50px;
    text-align: center;
    background-position: 3px;
    }
    .geodir_awardfinalist .geodir-i-checkbox {
        display: none;
    }
    #429267

    Guust
    Moderator
    Post count: 29970

    Without seeing the URL we cannot inspect the code.
    Please have a look at https://wpgeodirectory.com/docs/customizing-your-style/ and if you need further help, post the URL of that page so we can see the code.
    Thanks

    #429271

    Elise
    Expired Member
    Post count: 58
    This reply has been marked as private.
    #429275

    Guust
    Moderator
    Post count: 29970

    Try changing

    .geodir_awardfinalist {float: left;}

    to

    .geodir_awardfinalist {float: none;}

    or remove altogether.

    #429278

    Elise
    Expired Member
    Post count: 58

    Perfect! Thank you.

    #429279

    Kor
    Moderator
    Post count: 16516

    Hi Alanna,

    Thanks for your reply. I’ve just inspected your Website and the icon looks fine. Did you sort it out yourself? Check out the attached screenshot.

    Thanks!

    #429281

    Elise
    Expired Member
    Post count: 58

    I just fixed it based on Guust’s suggestion above. Thank you.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount