Cart/Warenkorb layout issue - input fields not in one line

Phoca Cart - complex e-commerce extension
MAXambient
Phoca Enthusiast
Phoca Enthusiast
Posts: 85
Joined: 13 Feb 2020, 17:49

Cart/Warenkorb layout issue - input fields not in one line

Post by MAXambient »

Sorry for asking, as my CSS knowledge is poor and it might be a simple thing to change, but is there a way to make the Cart Module layout different?
If you look here: https://www.lectrosonics.de/index.php/p ... n/checkout the input fields are not in one vertical line.
Is there a way to have them better ordered?
Or can I hate the description of the field under the field?
AlainR
Phoca Enthusiast
Phoca Enthusiast
Posts: 52
Joined: 24 Jul 2018, 16:33

Re: Cart/Warenkorb layout issue - input fields not in one line

Post by AlainR »

It’s because of the template. There is a conflict between 2 CSS rules of the shaper_helixultimate template: (/templates/shaper_helixultimate/css/bootstrap.min.css and/templates/shaper_helixultimate/css/template.css)
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Cart/Warenkorb layout issue - input fields not in one line

Post by christine »

@AlainR
thank you for your investigation!
tried following (temporary), found under template.css:

either

Code: Select all

.form-horizontal .control-label {
    float: left;
    width: auto;
    padding-top: 5px;
    padding-right: 5px;
    text-align: left;
}
deleted: width

or
Or can I hate the description of the field under the field?
.form-horizontal .control-label {
width: 100%;
}
changed the width

maybe to put in a customs.css?
As I'm not using helix, don't know it, therefore just an idea.

regards, christine
MAXambient
Phoca Enthusiast
Phoca Enthusiast
Posts: 85
Joined: 13 Feb 2020, 17:49

Re: Cart/Warenkorb layout issue - input fields not in one line

Post by MAXambient »

Wow, cool, No.2 worked and solved the problem.

Many thanks.

As Bootstrap and Helix seems to have some "Crashing" problems, might it be usefull to change settings in Phoca Cart?

I have the following:
Theme: Bootstrap 4
Icon Type: Bootstrap
Load Main CSS: YES
Load Special CSS: NO
Load RTL CSS: NO
Load Bootstrap: NO
Load Chosen: NO

Helix is having problems with Tab Handling of Procucts, so this might be a reason?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cart/Warenkorb layout issue - input fields not in one line

Post by Jan »

Hi, hard to say, this can be some conflict between new Bootstrap and Joomla old Bootstrap. This should be definifively solved in Joomla 4 where all (Joomla core and Templates) will use one Bootstrap version - Bootstrap 5 :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply