Jump to content
Sign in to follow this  
jpmcmahon

Change font size in "Letters"

Recommended Posts

jpmcmahon

Using Letters for a blog and need some assistance as to how to change the font size in posts using Letters - both the heading and content. The demo version on the website has a nice font but could not see how to change it. Thanks

Share this post


Link to post
Share on other sites
James B

Hi there, the letters section uses the same typography settings from the Pagelines>Site Options>Typography page. Changing the headings and body font/styling in there will also affect the content in the letters section.

If you wish to style the font in the letters section differently from the rest of the site, you'll need to use Css as per below. I've left all the other css options inside the code in case there's other adjustments you want to make. If not, just delete the lines which aren't applicable.

For the title


.pl-letters-container .letters-article .letters-title {

    font-size: 34px;

    letter-spacing: -0.03em;

    line-height: 1.1em;

    margin: 26px 0;

}

For the content

.pl-letters-container .letters-article .letters-content {

    color: rgba(61, 61, 61, 0.8);

    font-size: 17px;

    font-weight: 300;

    line-height: 26px;

    margin: 0;

    text-align: left;

}


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
James B

You're welcome, glad it worked :-)


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
James B

The topic was marked as resolved.


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
caiDOTio

I've followed the above instructions, placing my desired settings for the PageLines Letters  in the Custom Code area, but nothing's changing on the blog entry. It's just the default settings for Letters. Because I am using the PageLines Base Child Theme, I also attempted to edit the style.less sheet for the Letters section using the Sublime Text 2 app for OS X, but there is still no change visible, even after refreshing browser cache.

 

Any thoughts? Is there some format I'm missing when editing the style.less sheet? This is my first attempt to edit a LESS file, having only edited CSS files before.

 

I'm trying to increase the text size to 19px and the line height to 29px for the Letters section, to further enhance long form readability.

Share this post


Link to post
Share on other sites
Danny

Hi, If a topics has been marked Resolved, which this one has, its very rare that one of our staff members will view a reply to the topic. Therefore please create your own topic regarding this issue and we will be happy to assist you.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • stug
      By stug
      Hi,I'm using letters to replace the content section. At the moment the post is centered but only takes up about 2/3 of avilable width. Is it possible to change the width so that the post will fill 100 % the available page width.
    • janpeeters
      By janpeeters
      Over the last month I had extensive communications with the developer of the (premium) Anything Boxes section (in Pagelines store) (Adam Munns) and the developer of the WP Polylang Multilingual plugin (Frederic Demarle).
       
      This was because the following problem occurred:
      Anything Boxes showed all posts of two languages (Dutch and English) on the respective static frontpages for each language. It should of course have filtered posts for Dutch language on the Dutch frontpage and English on the English frontpage.
       
      The solution to this problem was simple in the end. When duplicating a page for use in another language the settings for Anything Boxes were not copied to the new page and I should have set these settings manually again on the new page. I wasn't aware of this, but it makes sense. Because of this the pages didn't know how to differentiate between posts from different languages.
       
      The dev of Polylang told me that Polylang is currently smart enough to synchronize metas like Featured images and page templates but it does not work out of the box with metas created by plugins and themes but (according to Frederic) it is rather easy to add them in the list using the filter 'pll_copy_post_metas'.
      He mentions that he is not sure that these 'PageLines Meta Settings' are stored in post meta but that would make sense according to him. He asks if the Pagelines dev team will be interested to support this feature in the future.
       
      I'm also wondering if you will consider adding Polylang translation support for manually editable strings like the 'Read more…' strings in Pagelines Settings.
       
      Well that's of course up to you but I thought to let you know to be able to take this into consideration. I also post this for other users in case they experience the same kind of trouble and are looking for an answer.
       
      Best regards,
      Jan Peeters
    • bankrollbuilder
      By bankrollbuilder
      I used a custom hook to put a banner ad in my header. It works but its not in the right position. it is centered and above my logo and I would like to float it to the right of my logo in the header. heres the link: http://shaboopie.com/shaboopie-wp/free-logos-pg1/

      thanks.

      Dan B.
    • starlit
      By starlit
      Can one have two hero sections on one page?

      I want a landing page which leads/advertises two subpages.

      Or is there another option?

      Please help.

      THANK YOU
    • hutruk
      By hutruk
      Hi!

      I am using the shortcodes for tabs, as described in the documentation.

      When I insert the following code:


      [pl_tabs][pl_tabtitlesection type="tabs"] [pl_tabtitle number="1"]Title 1[/pl_tabtitle] [pl_tabtitle number="2"]Title 2[/pl_tabtitle] [/pl_tabtitlesection] [pl_tabcontentsection] [pl_tabcontent active="yes" number="1"] Lorem ipsum dolor sit amet, consectetur adipiscing elit [/pl_tabcontent] [pl_tabcontent number="2"] Lorem ipsum dolor sit amet, consectetur adipiscing elit [/pl_tabcontent] [/pl_tabcontentsection] [/pl_tabs]

      I get a strange output (in the attachment).

      Any ideas?

      Thanks in advance!

×