How can I change the font and size for one specific page?

Hi friends…

I would like to change the font and size (only the content) and only for the following page:

https://forexpoly.com/pages/cap1

…but not the full site

for example: helvetica 16 pt

I will appreciate any help

best regards

tony

@tonyvaloz - your page do not have an unique id, therefore any css applied to it will affect other pages too. SO to avoid it we need to add unique id to the pages using which we can write the css. This will need small code tweak.

1 Like

@tonyvaloz
your page does not have an unique id, if you will add any custom css it will affect other pages too. SO to avoid it we need to add unique id to the pages using which we can write the css. This will need small code tweak.

for that you need a developer help to me this tweak changes,
Let me know if you need.
Thank you

1 Like

Hi Tony,

This shouldn’t be hard to do for a page within your Shopify store. You’ll need to dig into the HTML code for your page (cap1).

Make a copy of the page to experiment on, e.g. cap1-copy

Edit that page until you’re happy with the preview results then transfer your changes to your real page.

There is the show HTML button in the upper right of the content area, below the page title. Look for the <>

Hit that and it will bring up the HTML code for your page.

Locate the area that you wish to change. Here’s an example:

I will do always give you, my customers a choice.

in the

tag you’ll need to add inline css code. Here’s an example of several things you can change:

So to change the font for an area you would use this:

I will do always give you, my customers a choice.

Why using a size instead of the specific point size? These sizes are relative to the size of the other text in your css so they will scale correctly on a touch screen.

You could also use font-size:16rem which will scale more appropriately.

See this article about font size specifications: https://blueprintdigital.com/font-sizes-in-responsive-design/

1 Like

Excellent !!!

Thank you