What's your biggest current challenge? Have your say in Community Polls along the right column.

How can I modify paragraph spacing on my webpage?

How can I modify paragraph spacing on my webpage?

averyjoelle
Tourist
6 0 2

Hello, Im not happy with how much space there is between our paragraphs on this page.  I especially dont like the spacing between 'With Best Regards' and ' Ish Guitars' at the end.  How do I change this?

 

https://ish.guitars/pages/careers

Replies 6 (6)

averyjoelle
Tourist
6 0 2

I also would like to change the spacing between the header image and first line of text as well if possible

Made4uo-Ribe
Shopify Partner
9159 2184 2700

Hi @averyjoelle 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.index-section.text-center .rte h2 {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1;
}

@media only screen and (min-width: 769px){
.index-section {
    margin-top: 70px !important;
}
}

 

And save. 

Result:

Made4uoRibe_0-1705523111049.png

You can adjust the size. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
averyjoelle
Tourist
6 0 2

Thanks for this! I will try it.  Will this universally apply to our website or is this page specific code?  I am noticing similar formatting issues on the whole of our website.

Made4uo-Ribe
Shopify Partner
9159 2184 2700

Yes, Replace with this one. 

 

@media only screen and (min-width: 769px){
div#shopify-section-template--17413467472111__rich_text_kGFNHi .index-section {
    margin-top: 70px;
}
}
div#shopify-section-template--17413467472111__rich_text_kGFNHi .index-section.text-center .rte h2 {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1;
}

 

And Save. 

This code will only be in this section. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
averyjoelle
Tourist
6 0 2

Screenshot 2024-01-17 at 3.30.06 PM.png

 

making these changes added a weird bar on our homepage that was not there before

helen25
New Member
16 0 0

Hi Averyjoelle,

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.rte h2, .rte h3, .rte h4, .rte h5, .rte h6 {
    margin-top: 0px;
    margin-bottom: 5px

Ans Save the file.

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

ScreenShot Tool -20240125135838.png