Staff replied Templates

no visible number in inputbox

Asked by Parkieten Societeit 3 years ago Last activity 3 years ago

6 replies

Pavel
3 years ago · edited

Hi. You should override inputbox style isolated for Joomshoping, so that this does not affect other inputbox fields on the site.

For example for the product page (if you have not noticed, there is also this problem there)

.jshop_prod_attributes .inputbox {
    padding: 5px !important;
}


I do not have access to the cart, but the principle is so. You must find the parent class that comes from Joomshoping and use it in your code.

.JSHOP_CART_SOME_PARENT_CLASS .inputbox {
    padding: 5px !important;
}
Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Thanks Pavel for sharing the solution with us. Parkieten you can follow pavel's instructions.

-Regards.

Parkieten Societeit Asked this

Hello,
Thanks for the given answers.
But i think it is not fair to blame an other company for their component. Joomshopping is working fine with a lot of templates. I tried some templates from Joomshaper and some are working fine and others not.
I made a new install with joomla 4 and there Newsberg worked almost good. Just the underside is a bit missing.
With your template Edulif every thing works good.
Newsberg however is my favourite so i hope that you can adjust the newsberg.css the right way.

Paul Frankowski Senior Staff
3 years ago · edited

In that case you have to use custom.css file and as Pavel said reduce padding for all "inputboxes" used in that component. Yes, this simple CSS style override should help.

Not focus on problem, but think about solution. Otherwise you will get stuck in a place. Go ahead.

Use Code Inspector tool from your browser to preview input/select field HTML + CSS code and check which new value should help, then use whole "new" class in custom.css file. General guide: https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action

Pavel
3 years ago · edited

But i think it is not fair to blame an other company for their component.

Hi. No one blames another company. Overriding the styles of the component is a common practice. Your template contains styles for input fields. If you change this in the template so that it is suitable for Joomshopping, then all the input fields outside the Joomshoping will break. I think you don't want it.

A template is a house, a component is a chair in the house. If the color of your chair does not correspond to the color of your house, you will not change the house, right? You will change the chair.

The default template that is in Joomshoping is intended for only one thing - so that you can at least somehow see it in live viewing.

The developers of Joomshoping, Akeeba and many others say so - "We are not designers, we are developers. Appearance in your hands."

Joomshoping is my favorite component of the online store. I made dozens of sites with this component.
My practice of working with it is this, I do not use its CSS. I make a new Joomshopping template (by coping default template) and completely write my own CSS and make changes in the jshop template php files for my tasks.
This allows me to make any appearance and store layout.

I love Joomshopping for this - its source code is incredibly flexible and understandable :)

And by the way, Joomshopping has amazing opportunities for introducing Sp Page Builder into it. I do not understand why JoomShaper Team does not use this component in their templates instead of using clumsy and complicated J2store in terms of code

Paul Frankowski Senior Staff

Hopefully we will not use J2store anymore.

Yes, Joomshopping is great tool and much more trusted compare to J2Store.

Thanks Pavel as always.

Log in to reply.