Solved

How to reduce the spacing above and below cell texts within a table in a Page?

Newbie_shpfy
Excursionist
13 1 3

Hello everything. As a person who knows nothing about http coding, I finally found a way to align the whole table to the center. But I still can't find any ways to make the empty spaces (above and below the texts) in the cell smaller.

 

Can anyone help? Thank you very much..

 

https://summerizeint.myshopify.com/pages/shipping

password: skaung

Accepted Solution (1)

made4Uo
Shopify Partner
3821 716 1148

This is an accepted solution.

Hi @Newbie_shpfy,

 

You can try the following codes. 

 

1. In your Admin page, go to Online store > Themes
2. Choose the theme you want to edit then click Actions > Edit code. 
3. Open the base.css under the Asset folder. 
4. Add the code below. 

 

 

.rte table:not([class]) td {
    padding: 0 1.2rem;
}

 

 

To reduce the space further, use the code below.

 

.rte p {
    margin: 0;
}

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

View solution in original post

Replies 2 (2)

made4Uo
Shopify Partner
3821 716 1148

This is an accepted solution.

Hi @Newbie_shpfy,

 

You can try the following codes. 

 

1. In your Admin page, go to Online store > Themes
2. Choose the theme you want to edit then click Actions > Edit code. 
3. Open the base.css under the Asset folder. 
4. Add the code below. 

 

 

.rte table:not([class]) td {
    padding: 0 1.2rem;
}

 

 

To reduce the space further, use the code below.

 

.rte p {
    margin: 0;
}

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
Newbie_shpfy
Excursionist
13 1 3

Thank you!! It worked!! You saved my day, buddy!😄