- Posts: 2
- Thank you received: 0
Layout issue on account registration
9 years 11 months ago #252440
by eriked
Layout issue on account registration was created by eriked
During the checkout process, customers need to register. At the Login or create a new account page there is a layout issue I am unable to solve. As you can see on either the website or attached screenshot, the * for mandatory fields in the registration part is displayed at the wrong position. If you look at the Address Information part below this, the * is displayed at the correct position.
If I look at the html, I see that the lower correct part has this:
<span class="hikashop_field_required">*</span>
And the top part only this
*
If I look at the html, I see that the lower correct part has this:
<span class="hikashop_field_required">*</span>
And the top part only this
*
Please Log in or Create an account to join the conversation.
9 years 11 months ago - 9 years 11 months ago #252444
by Philip
Replied by Philip on topic Layout issue on account registration
Hello,
In order to correct this kind of display issue, you can edit the frontend.css in order to custom it.
See this, here to learn how to create a frontend_custom.css.
Maybe a this kind of css code can solve your display issue :
Hope this will help you.
Regards
In order to correct this kind of display issue, you can edit the frontend.css in order to custom it.
See this, here to learn how to create a frontend_custom.css.
Maybe a this kind of css code can solve your display issue :
Code:
span.hikashop_field_required {
margin-bottom: Xpx
}
Hope this will help you.
Regards
Last edit: 9 years 11 months ago by Philip.
Please Log in or Create an account to join the conversation.
9 years 11 months ago #252693
by eriked
Replied by eriked on topic Layout issue on account registration
Hi Philip,
Thanks for the advice. However, this has only effect on the part that is already working correctly.(the custom hikashop fields like city, adress, ... The part that is displayed wrong is the top part with username, email, password.
Kind regards,
Erik
Thanks for the advice. However, this has only effect on the part that is already working correctly.(the custom hikashop fields like city, adress, ... The part that is displayed wrong is the top part with username, email, password.
Kind regards,
Erik
Please Log in or Create an account to join the conversation.
9 years 11 months ago - 9 years 11 months ago #252745
by Philip
Replied by Philip on topic Layout issue on account registration
Hello,
So why use a more precise selector like in this example :
In this kind of situation, your selector can be write like this :
This kind of way to create your selector able you to add a Css command ONLY on input displaying in div.parent2.
Hope this will help you
Regards
So why use a more precise selector like in this example :
Code:
<div class="Grand-parent">
<div class="parent1">
<input class="address">
<input class="address_city">
<input class="country">
</div>
<div class="parent2">
<input class="name">
<input class="mail">
<input class="password">
</div>
</div>
In this kind of situation, your selector can be write like this :
Code:
div.Grand-parent div.parent2 input {
CSS COMMAND: VALUE
}
This kind of way to create your selector able you to add a Css command ONLY on input displaying in div.parent2.
Hope this will help you
Regards
Last edit: 9 years 11 months ago by Philip.
Please Log in or Create an account to join the conversation.
Time to create page: 0.208 seconds