- Posts: 222
- Thank you received: 1
contact button in or after product description
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Now contact button is on the product left section, before the whole product description on bottom section. I want them in product description bottom section. I think it is logical: after the reading all description a customer (if he has more questions) can press this contact button, but not before he read the whole information.
Is that possible?
I found the code in product/show (I'm not sure), but not found the place where I can place it.
Thanks,
Vero
Please Log in or Create an account to join the conversation.
Assuming that you're using the default product page layout, you will need to edit "show_default". There you'll find the block
which is the one you want to place elsewhere.
By default it's in the div section with id and class "hikashop_product_right_part". If you want it in the bottom part, then simply cut it out where it is now and insert appropriately in the div with id and class "hikashop_product_bottom_part" in that same view.
Done.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
does not work. Where is the mistake?
Vero
Please Log in or Create an account to join the conversation.
First, a typo: there's a "c" missing in ...hikashop_cart_input_button.art-button
Then, "zoom" works best with e.g. "120%", but still not in every browser. It's not very "compatible", unless browser world has changed dramatically very recently.
Since it's a button, you should use "padding" and if you prefer eventually "font-size". Try that?
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Vero
Please Log in or Create an account to join the conversation.
2. It was even worse, not only the "c" missing. Maybe it got messed up in copy & paste, but that'd be strange. Here's your typo code again, look at the selector:
Vero wrote:
Code:div#hikashop_product_contact_main.hikashop_product_contact_main input.btn.button.hikashop_cart_input_button.art-button{ zoom: 1.2 !important; border: none !important; }
According to that you're shooting at an "hikashop_cart_input_button.art-button", which doesn't exist unless you added the class "art-button". :lol:
Use my code, alter the numbers and be happy.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
To avoid you needing to post a lot of stuff here: got a link to your site? Obviously no login or so needed, just a link to a product page.
If you don't want the world to see, PM me. I won't tell anyone...
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
www.adrialle-cadeau.com/kadokadootje/kad...elhanger-puppy-paars
Please Log in or Create an account to join the conversation.
Both input.art-button and .art-button have CSS applied to them in your template CSS, incl font-size and padding. Guess that's what rules, so you won't see changes when messing with .hikashop_cart_input_button in the HikaShop CSS file.
So, change what I gave you before to
... of course, with values adjusted to your liking. You don't need to add more classes as the ID hikashop_product_contact_main is used only there.
You seem to have no custom or override CSS for your template, so then leave it in your HikaShop custom frontend file, where you said you placed it already.
If THAT doesn't work, I shall retire... in hell...
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Many, many thanks! You tried to help me.
Please Log in or Create an account to join the conversation.
Where/how/what did you do? frontend_custom.css, yes? Is the code in there now? Indeed, I don't see it in your site. You're sure you did it right, yes?
What about
With only a minor change, it works for your add-to-cart button, obviously, so this one MUST MUST MUST work for the contact button (just like the code I gave you before!), or you're really doing something wrong there...
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
I think I make a stupid mistake somewhere... But now I copy and paste your code. Also not working...
Please Log in or Create an account to join the conversation.