HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


news/blog article title line break question

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#101390 (In Topic #19887)
Avatar

Community saint

Hello all,

A short while back I edited global.css, reducing the h1/h2/h3 pixel width to 600px so that in full view screen of a news/blog article, the article title would break onto a second line, which I thought looked better than having a long title keep running across the screen on one line. 

However, ever since I did this, now in the main_news block on the front page, the article title doesn't break to a second line like it used to automatically if the browser window width is small. I don't use fixed-width layout. Even if I greatly expand the browser window, it doesn't show the full article title, it stops at a certain point and shows an ellipses, and if you hover the mouse over the title, you don't get any tooltip displaying the full title. I'm not clear on how to fix this. Any thoughts?
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#101391
Avatar

Well-settled

Try changing width to max-width. That should make it only work as a ceiling width, rather than forcing all headers to that width.
Back to the top
 
Posted
Rating:
#101392
Avatar

Community saint

that was fast, thanks! Yes, it worked. Much appreciated.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: