CSS Code Add Company Logo

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

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

Open Support Ticket
  • Author
    Posts
  • #273278
    #273393

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the best place to save your custom CSS is in GD > design > scripts > custom CSS. That way it is saved in the database and you don’t have to worry about updates…

    To copy the CSS code from that doc, when you hover the code window, 3 icons appear on the top-right corner of that window. Click on the view source icon (1st on the left).

    it will open the code in a new popup window where it is simpler to copy.

    Just highlight it right click on it and click Copy.

    Let us know how it goes.

    Thanks

    #273427

    Alistair Williamson
    Full Member
    Post count: 415

    Hi Paulo,

    I followed what you said but it hasn’t changed the logo I have imported into the listing?

    Shall I send you the login info so you can take a look?

    Than ks

    Al

    #273432

    Alistair Williamson
    Full Member
    Post count: 415
    This reply has been marked as private.
    #273501

    Guust
    Moderator
    Post count: 29970

    You used cpompanylogo as the HTML variable name but did not change it in the code.
    You also did not copy the first line of CSS.
    Please check now. Thanks.

    #274004

    Alistair Williamson
    Full Member
    Post count: 415

    Hi Guust,

    Thanks for this.

    I definitely lost it – it was very late…..:-(

    I see what you have done but I am still a little confused:

    a) The company logo on ‘WH Barley’ is very large – too large for the box – is that down to the pixel size of the logo or the CSS? How can I resize the logo so it is fullyu visible please?

    b) If I add another image field how can I put the CSS in the GD/Design/Scripts/Custom style css code box?

    Or can I add the respective scripts to themes/styles.css – Not really sure what to do here – sorry if I am being dim.

    Bests

    Al

    #274396

    Guust
    Moderator
    Post count: 29970

    I changed some of the code to

    
    
    .geodir_companylogo .geodir-custom-post-gallery .geodir_thumbnail {
        background-size: contain;
    }
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