Ella theme- How to change the font size and the location of the new page title

Ella theme- How to change the font size and the location of the new page title

bethchan
Excursionist
62 0 11

 Hello ,Dev

       I create a new page, but I want to change the title font size and move it to the middle. Make it the the same as the privacy  policy page. I have added the code on the theme.scss.liquid to change the title of the privacy  policy.

code:

.shopify-policy__container {
max-width: 80% !important;
}

.shopify-policy__title{ padding-top: 30px; }

 

bethchan_0-1618493456951.png

       

bethchan_1-1618493473392.png

 

Replies 17 (17)

suyash1
Shopify Partner
10700 1321 1698

@bethchan - can you please share order page link?

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
bethchan
Excursionist
62 0 11

@suyash1 

suyash1
Shopify Partner
10700 1321 1698

@bethchan - one issue is order page do not have separate class, so if we adjust header size for it thenit will be applied to all pages, add this css to the end of your theme.scss file and check 

.section-header .title--large {font-size: 1.75em; text-align: center;}
Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
suyash1
Shopify Partner
10700 1321 1698

@bethchan - I see this 

suyash1_0-1618806385417.png

 

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
bethchan
Excursionist
62 0 11

bethchan
Excursionist
62 0 11

@suyash1 , Do you know to reduce the height of my footer bottom?

bethchan_0-1618886093200.png

 

 

Kinjaldavra
Shopify Partner
2303 570 1426

@bethchan  please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.

@media screen and (min-width: 1024px){
   .template-index .site-footer__middle{
      padding: 42px 0 0px !important;
    }     

  .template-index .site-footer__bottom {
      padding:  0 !important;
  }
   }
             
         

  

suyash1
Shopify Partner
10700 1321 1698

@bethchan - please add this css to the end of theme.scss file and check 

 

.site-footer__middle {padding: 42px 0 5px;}

@media (min-width: 1025px){
.site-footer__bottom {padding: 5px 0;}
}
Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
bethchan
Excursionist
62 0 11

@suyash1 ,  It doesn't work. I found the code is the same as your  code in the theme.style.scss. 

bethchan_0-1618894283840.png

 

suyash1
Shopify Partner
10700 1321 1698

@bethchan - you see in selected code, number is 55 and that is the space , and I gave you edited code with number 5

you can adjust as per need, you need to change that number 55 and check what number do you want, it will work

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
bethchan
Excursionist
62 0 11

@suyash1 , I have added it, but it doesn't work yet.

bethchan_0-1618898241525.png

 

suyash1
Shopify Partner
10700 1321 1698

@bethchan - ok it needs !important after css, so remove those last 3 lines and replace with this 

@media (min-width: 1025px){
.site-footer__bottom {padding: 5px 0 !important;}
}
Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
bethchan
Excursionist
62 0 11

@suyash1 , The padding changes but not the padding of the bottom.

before

bethchan_1-1618899867324.png

 

after

bethchan_0-1618899811352.png

 

suyash1
Shopify Partner
10700 1321 1698

@bethchan - I do not see the code above loading and that is the issue, when I make browser change, I see like this 

suyash1_0-1618900706365.png

 

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
bethchan
Excursionist
62 0 11

@suyash1 , pls check the order track page. It change the padding between the badge and the bottom of the footer, not the height of the footer bottom.

bethchan_0-1618902058531.png

 

The footer bottom of the other page : the badge is not at the middle of it.

bethchan_1-1618902175286.png

 

 

suyash1
Shopify Partner
10700 1321 1698

@bethchan - you can remove given css, need to check exact settings as it looks like it works differently on different pages

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
bethchan
Excursionist
62 0 11

I have removed it.