Jump to content

Archived

This topic is now archived and is closed to further replies.

leftcoastmichael

Assigning Fonts for different Elements

Recommended Posts

leftcoastmichael+    4
leftcoastmichael

I would like to change the font TYPE and SIZE for these elements: Paragraph, H1, H2, H3, H4, and H5.

 

I would also like to specify a different font TYPE and SIZE for menu bars and widget items.

 

I've looked and looked, and all I can see is the Global Setting -> Typography which does not offer options beyond "Primary Text" and "Text headers".  When I made a change to "Primary Text" , it changed everything (including Nav Bar and Widget texts), and when I made a change to "Text Headers" there was no option to specify font sizes for each of the H elements.

 

The 'old' Pagelines offered easy customization of all these elements. Now I'm lost.

 

Grateful if you could point me in the right direction.

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there,

 

These settings are generalized in DMS. You will need to use css to adjust the specific h tags on selected elements. Example of the css belwo for you.

 

h1, h2, h3, h4, h5, h6, p {
    font-size:18pt;
}
  • Like 1

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
leftcoastmichael+    4
leftcoastmichael

Thanks for the response. Can you remind me where to input this code?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

All custom CSS/LESS can go into the Custom CSS option in the DMS Toolbar. However, if you're using a child theme, then your custom CSS/LESS should go into the style.less file, if there isn't one present then you will need to create it.

 

I recommend you see our Customization documentation for a more in-depth guide.

 

http://docs.pagelines.com/customize/how-to-customize

http://docs.pagelines.com/tutorials/adding-custom-fonts


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • DonRicardoRVM
      By DonRicardoRVM+
        First of all, sorry for my bad English.  I am developing an ecommeece with wp, woocommerce, PL5 and quickshop, and I need to do some changes in the simple product grid. I want to change the classes of some divs, but I can't find the templates. 
      Also, I change the grid of the category products pages, but I didn't make it correctly.
      This is the cat archive's: http://globosdemar.com/wp/categoria-producto/camisetas-para-ninos-y-ninas/
      Can you help me?
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
    • jeomiland
      By jeomiland+
      Hi
      I found this topic
      which talks about a similar issue I am having, but a little different. Hope someone can help me out.
      Best way to see the problem is to view http://cassclayton.com/ on Safari (Mac) compared to Firefox or Chrome. You will see the banner just under the fixed menubar has a gap between the menubar and top of the banner. Looking at Inspector, I found:
      <div class="fixed-top-pusher" style="height: 62px;"></div>
      <script> jQuery('.fixed-top-pusher').height( jQuery('.pl-fixed-top').height() ) </script>
      and indeed it seems the jquery is not always working consistently. For instance, if you simply refresh the page in Safari, it will loose the gap and all looks fine, so is it a browser cache issue that is interacting with the jquery? I do have W3 Total Cache installed. There must be a way to tell the code to make sure jquery is up and running and available to do it's majic?
      And perhaps there is just a better way to do this banner? Originally I tried several DMS sections and used the banner image as background, etc... Kept running into problems with resizing and the left/right parts of the image were getting chopped off. It is important the whole image show, so currently I just use a NextBox section with this code:
      <img src="[pl_site_url]/wp-content/uploads/2015/12/CassClayton-blues-tribute-banner.jpg" width="100%" />
      and it looks the way it should. Is there a better way to place a banner graphic under a fixed navbar and make sure the whole banner graphic displays regardless of screensize?
       
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
×