• 0

Question

Posted · Report post

How do I center the title in the Postpins section? See attached.

 

 

Share this post


Link to post
Share on other sites

9 answers to this question

  • 0

Posted · Report post

Try the following:

 

#site .postpin {

-webkit-hyphens: none;
   -moz-hyphens: none;
        hyphens: none;
}

 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

use this <center>your title here</center>

 

~Aires 

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted (edited) · Report post

Thank you, that works.

 

I just noticed a problem.  The words in the title of blog posts get cut-off to the other line when it is too long instead of starting a new line right away in Firefox and Safari. It works fine in Chrome. 

 

Open the below link in Firefox or Safari and you will see.

http://www.pagelines.com/postpins/

 

 

Edited by primetime

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

Your topics original question has been resolved. Therefore, in future please create a new topic, if you encounter a new issue.

 

To resolve your word break issue, please enable the Browser Specific CSS in the DMS Pro Tools plugin, once active add the following to your custom CSS:

 

body.firefox .postpin {

    word-break: inherit;
    -moz-hyphens: auto;
    word-wrap: break-word;
}
 
Also, the content you have in the Inline styling classes field and Styling classes field, isn't valid. Therefore, you're going to need to remove them.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited) · Report post

Hi,

 

It's still not working. Also, can you help me fix it in Safari and IE also.

Edited by primetime

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Can you provide a link to your site so I can check this myself please.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

It works, thanks Danny.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem.

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