Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 17h 02m 43s
Claim 50% off
Solved Templates

Can I ask for help on how to remove the empty space?

Asked by Rózsa Csaba 4 years ago Last activity 4 years ago

Hi,

problem history:

https://www.joomshaper.com/forum/question/8900#qa-answer-45237

Can I ask for help on how to remove the empty space? I have the same problem. I have managed to remove the prices, but there is still a lot of empty space.

.j2store-single-product-view #sp-main-body .j2store-single-product .j2store-addtocart-form .j2store-add-to-cart{
position:relative;
bottom:130px;
}

.j2store-single-product-view #sp-main-body .j2store-single-product .j2store-details-sdesc{
    margin:0 0 !important;
    position:relative;
    bottom:50px;
}

But unfortunately not good. For other products, the fields slip. :(

https://webshop2021.mixtea.hu/index.php/webshop/olasz-forro-csokolade-etcsoki-izben-15-tasak-doboz

Product with related products, its ok:

https://webshop2021.mixtea.hu/index.php/webshop/olasz-forro-csokolade-mogyoro-15-tasak-doboz

Thank You!

Accepted answer

Marked as the solution
Ofi Khan Staff

Apology for the mistake. Please delete the JavaScript from Custom Code. Then go to this location: templates/arino/js/main.js and replace line 222 to 229 to this

//Add to cart change position
    if ($(".com-j2store.view-products").length > 0) {
        $(".com-j2store.view-products .j2store-products-row .j2store-single-product").each(function(key, item) {
            let pricesWrap = $(this).find($(".product-price-container"));
            let addtocart = $(this).find($("form.j2store-addtocart-form"));
            addtocart.append(pricesWrap);
        });
    }

23 more replies

Ugur Uygur

Hi,

Can you tell me exactly which partition you want to remove/hide? It will be better if you mark it.

Regards

Ugur Uygur

I guess you can do it from the settings, I couldn't look because I don't have it right now. https://docs.j2store.org/ the docs here will help you. I hope my linking is not a problem. If you want, wait for the producers.

Regards,

Rózsa Csaba Asked this

J2store told me i should contact the one who made the template so here i am :)

Rózsa Csaba Asked this

Hello,

Because I deleted what you wrote code (custom css)

span.product-element-value{
    display:none;
}

.j2store-single-product-view #sp-main-body .j2store-single-product .j2store-addtocart-form .j2store-add-to-cart{
position:relative;
bottom:130px;
}

.j2store-single-product-view #sp-main-body .j2store-single-product .j2store-details-sdesc{
    margin:0 0 !important;
    position:relative;
    bottom:50px;
}

The problem still exists, unfortunately:

https://webshop2021.mixtea.hu/index.php/webshop/olasz-forro-csokolade-mogyoro-15-tasak-doboz

Can anyone help me?

Thank you!

Ofi Khan Staff

Hello Rózsa Csaba

Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials.

Best regards

Rózsa Csaba Asked this

Hello Ofi,

Thank you in advance and I look forward to your honourable reply!

Best regards

Rózsa Csaba Asked this

Hello Ofi,

can you help me?

Ugur Uygur

Hi,

The CSS given to you answers your question.

span.product-element-value {
    display:none;
}

.j2store-single-product-view #sp-main-body .j2store-single-product .j2store-addtocart-form .j2store-add-to-cart {
position:relative;
bottom:130px;
}

.j2store-single-product-view #sp-main-body .j2store-single-product .j2store-details-sdesc{
    margin:0 0 !important;
    position:relative;
    bottom:50px;
}

View

https://imgur.com/a/XATgKwg

Log in to reply.