Jump to content

Font size


Guest

Recommended Posts

Love the default bootstrap theme in prestashop 1.6, it is perfect for our use, with one small niggle. Al the font size are just  little too large


 


Is there an easy way to take it down a notch or two


 


A setting where I can say


 


Heading 1 font size : 12 pt


Heading 2 font size : 10 pt


paragraph font size: 8 px


 


etc


Link to comment
Share on other sites

hello

you can do it with css styles

but of course, you have to modify several things in css files

for example headings: change 18px/22px/ to 14px in:

.block .title_block, .block h4 {
font: 600 18px/22px "Open Sans", sans-serif;
color: #555454;
background: #f6f6f6;
border-top: 5px solid #333333;
text-transform: uppercase;
padding: 14px 5px 17px 20px;
margin-bottom: 20px;
}

effect:

m3zCLmw.pngs7yC9Rj.png

 

 

 

to change top menu font size you have to modify module css file

superfish-modified.css

you need to change also 18px/22px;

.sf-menu > li > a {
font: 600 18px/22px "Open Sans", sans-serif;
text-transform: uppercase;
color: #484848;
display: block;
padding: 17px 20px;
border-bottom: 3px solid #e9e9e9;
}

effect

UVMVZhJ.png

Link to comment
Share on other sites

Hi- I agree I love the bootstrap theme- but there are some things I wish I could tweak on the type sizes.  On the product pages, the category head- the type is too big. Also since I have category picture heads with the category name on it- is there any way to get rid of the category head type on the product page?post-776119-0-48944400-1396697905_thumb.jpg- see attached

 

 

Thank you

 

Link to comment
Share on other sites

Yes- Just the Title- Since I have the title in the picture block above it- and also the title is so big- it looks a little too large. I would like to keep the description- I just wanted to remove the Title

 

Thank You

Link to comment
Share on other sites

in category.tpl file you can remove this:

    <span class="category-name">
                                {strip}
                                    {$category->name|escape:'html':'UTF-8'}
                                    {if isset($categoryNameComplement)}
                                        {$categoryNameComplement|escape:'html':'UTF-8'}
                                    {/if}
                                {/strip}
                            </span>
Link to comment
Share on other sites

you're welcome :)

hope that haylau problems with font are also solved :)

Yes thanks, that has pointed me in the right direction  :D

Link to comment
Share on other sites

  • 2 months later...

Hi vekia - to edit the font size in paragraph text in CMC pages I assume I need to edit cms.css?

 

I can't seem to find the code that relates to this though and the cms editor does not give an option to change text size.

 

Thanks, David

Link to comment
Share on other sites

×
×
  • Create New...