Making an enquiry button

This topic contains 10 replies, has 2 voices, and was last updated by  Simone 10 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #16595

    Adam
    Buyer
    Post count: 88

    Hi,

    i need to do a large enquiry button, because the stock one in the detail page sidebar is too small to see.

    I cant figure out why this code doesnt work?

    <a href="javascript:void(0);" class="b_send_inquiry" >Send enquiry</a>

    It opens a popup window but then it disappears.

    Any idea? Or some other option how to make the current enquiry option bigger, more like a button?

    #16599

    Simone
    Expired Member
    Post count: 3515

    Hello, you can play with the css for the send enquiry button, just use this in your style.css (within your child theme)

    
    
    a.b_send_inquiry {
    font-size:30px;
    }

    in the example I just increased the font size but you can customize as you want using css
    more info here

    #16601

    Adam
    Buyer
    Post count: 88

    Uh, i copied the exact same code to my child theme CSS and it doesnt do anything :(. I feel like a noob, but i cant get it working.

    Should I do something beside copying it into my childtheme style.css? It just ignores my CSS code somehow…

    #16602

    Simone
    Expired Member
    Post count: 3515

    Your url please? 🙂

    #16603

    Adam
    Buyer
    Post count: 88
    This reply has been marked as private.
    #16604

    Simone
    Expired Member
    Post count: 3515

    Are you using the child theme, right?
    the code doesn’t seem to be in the style.css

    add the !important

    so,

    
    
    a.b_send_inquiry {
    font-size:30px !important;
    }
    #16606

    Adam
    Buyer
    Post count: 88
    This reply has been marked as private.
    #16608

    Simone
    Expired Member
    Post count: 3515

    I don’t know why it isn’t working on your theme, i tried on mine with GDF Child and it works as expected. Are yo using any cache plugin or any cdn (e.g. cloud flare etc?)

    #16611

    Adam
    Buyer
    Post count: 88

    Nope, i am not using any CDN or cache plugin. I tried it on my second test site and it works there… well most of the things are the same, but the second one is not translated, but i dont think that plays a role.

    Its very strange eh…

    #16613

    Adam
    Buyer
    Post count: 88

    Lol, now i figured it out. It was easy – in the previous change i made in the child them i forgot the closing “}”. So thats why the new code got ignored. Now i am feeling stupid :).

    THANKS for your help Simone :).

    #16614

    Simone
    Expired Member
    Post count: 3515

    you’re welcome, glad you sorted out 🙂

Viewing 11 posts - 1 through 11 (of 11 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