[Skip to main content](#vessel-content)

#   Button displays different on pages

##

- **[featha](/forum/user/36230-featha "View featha's Profile")**
- [![featha's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36230-featha "View featha's Profile") Topic Author
- [ Offline](/forum/user/36230-featha)

Less More

- Posts: 78
- Thank you received: 0
-
-

10 years 3 months ago [\#248267](#248267) by [featha](/forum/user/36230-featha "View featha's Profile")  *[Button displays different on pages](/forum/27-checkout/886115-button-displays-different-on-pages#248267 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome  I have a button 'login to view price' which displays on all product pages. This button looks different on every page. Please see attachment.   pasteboard.co/c2GWWgg5E.jpg  The shading is different, or the text alignment is different...  Where can I set the style and position for this? I would also like it to be more visible, i.e. lower on the page.")* was created by *[featha](/forum/user/36230-featha "View featha's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.6.2
-- Browser(s) name and version -- : Chrome

I have a button 'login to view price' which displays on all product pages.
This button looks different on every page.
Please see attachment. [ pasteboard.co/c2GWWgg5E.jpg](http://pasteboard.co/c2GWWgg5E.jpg)

The shading is different, or the text alignment is different...

Where can I set the style and position for this? I would also like it to be more visible, i.e. lower on the page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NjExNS1idXR0b24tZGlzcGxheXMtZGlmZmVyZW50LW9uLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

10 years 3 months ago [\#248274](#248274) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Button displays different on pages](/forum/27-checkout/886115-button-displays-different-on-pages#248274 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome  I have a button 'login to view price' which displays on all product pages. This button looks different on every page. Please see attachment.   pasteboard.co/c2GWWgg5E.jpg  The shading is different, or the text alignment is different...  Where can I set the style and position for this? I would also like it to be more visible, i.e. lower on the page.")*

Hi again,

You know that Firebug or a similar browser console is the "go-to" tool for this sort of work, and that here is the documentation for both CSS (for "style") and view/layout (for "position") customizations: [ www.hikashop.com/support/documentation/1...ize-the-display.html](http://www.hikashop.com/support/documentation/153-customize-the-display.html)

You might have included a hidden link to your site here with your post. But if not, more can't be said from a screenshot bitmap, anyway.

By the way, it would be a good idea to update your HikaShop to the latest version (2.6.3 at the time of this writing). See the [ changelog](http://www.hikashop.com/support/documentation/56-hikashop-changelog.html) - many improvements have been made since.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NjExNS1idXR0b24tZGlzcGxheXMtZGlmZmVyZW50LW9uLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 3 months ago [\#248275](#248275) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Button displays different on pages](/forum/27-checkout/886115-button-displays-different-on-pages#248275 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome  I have a button 'login to view price' which displays on all product pages. This button looks different on every page. Please see attachment.   pasteboard.co/c2GWWgg5E.jpg  The shading is different, or the text alignment is different...  Where can I set the style and position for this? I would also like it to be more visible, i.e. lower on the page.")*

Hi,

The shading is not different. It's the same everywhere. The problem is that you have that button for each product of the listing. And thus, the more products are being displayed, the more you have the button superposed, and thus the darker the shading gets as the shading of each button gets superposed.
I would recommend to remove the shading of the button all together in the CSS of your Joomla template.

The thing is that normally, that button should display for each element, not at the top and floating like you have it. It does that because of the CSS of your Joomla template which style the class "modal" as a popup while mootools uses that class for buttons.
If you change the .modal CSS of your template to div.modal, then it will apply that CSS to popups only, and the buttons will display under each product image as they are supposed to, but that might not be what you want.
But that means that when you tweak the CSS of the button in your template to lower it, you need to be careful to use a.modal and not just .modal so that your changes only apply to your buttons and not the popups.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NjExNS1idXR0b24tZGlzcGxheXMtZGlmZmVyZW50LW9uLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[featha](/forum/user/36230-featha "View featha's Profile")**
- [![featha's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36230-featha "View featha's Profile") Topic Author
- [ Offline](/forum/user/36230-featha)

Less More

- Posts: 78
- Thank you received: 0
-
-

10 years 3 months ago [\#248336](#248336) by [featha](/forum/user/36230-featha "View featha's Profile")  Replied by *[featha](/forum/user/36230-featha "View featha's Profile")* on topic *[Button displays different on pages](/forum/27-checkout/886115-button-displays-different-on-pages#248336 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome  I have a button 'login to view price' which displays on all product pages. This button looks different on every page. Please see attachment.   pasteboard.co/c2GWWgg5E.jpg  The shading is different, or the text alignment is different...  Where can I set the style and position for this? I would also like it to be more visible, i.e. lower on the page.")*

Thank you. This make perfect sense.

Funny enough - the button used to display for each element. I think it changed to floating at the top after I did an update - not sure anymore.

I have looked at configuration &gt; display &gt; css
The back-end and front-end css and only found one .modal - the rest are all div.modal :
.modal-body{
max-height: none !important;
}
I am worried I am going to mess this up.
Where exactly do I need to change the css .modal to div.modal.
Which file and which line of text?
I definitely want the button to display for each element and NOT floating on top like it is now.

Thanks for the help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NjExNS1idXR0b24tZGlzcGxheXMtZGlmZmVyZW50LW9uLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 3 months ago [\#248339](#248339) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Button displays different on pages](/forum/27-checkout/886115-button-displays-different-on-pages#248339 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome  I have a button 'login to view price' which displays on all product pages. This button looks different on every page. Please see attachment.   pasteboard.co/c2GWWgg5E.jpg  The shading is different, or the text alignment is different...  Where can I set the style and position for this? I would also like it to be more visible, i.e. lower on the page.")*

Hi,

The CSS of your website is compressed by your template:
[ kfcc.com.na/templates/kallyas/css/templa...es-..%2Fcss%2Fcustom](http://kfcc.com.na/templates/kallyas/css/template.css.php?src=..%2Fcss%2Fjsystem-..%2Fcss%2Fbootstrap-..%2Faddons%2Fsuperfish_responsive%2Fsuperfish-..%2Fcss%2Ftemplate-..%2Fcss%2Fbootstrap_responsive-..%2Fcss%2Fupdates-..%2Fcss%2Fcustom)
So I can't say where you can change it.
You'll have to turn off CSS compression of your template if you want us to be able to check that for you.
But you can also ask your template provider since that CSS must come from the template. They should know better than us.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NjExNS1idXR0b24tZGlzcGxheXMtZGlmZmVyZW50LW9uLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.072 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
