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.


Fixed: Skewed Underline in Page Titles

Login / Search

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

Fan in training

Simple patch to Global.css fixes shifted Underline in class .main_page_title

Under version 4.2.1 manual installer, the Page Title underlines were skewed 30px.
Apply this change in: Manage Themes > Default Theme > Edit CSS > global.css
to fix the underline skew by changing the padding line.


Code

.main_page_title {
background-color: #CDDEEC; /*{$,wizard, 23% (seed sat_to 71) + 77% W/B} */
font-size: 1.8em;
font-weight: normal;
background: url('{$IMG,underline}') no-repeat 30px 100%;
padding-{!en_right}: 30px; /* was: padding-{!en_left}: 30px; */
display: table;
min-width: 300px;
}
Hope this helps someone.

  • gmrad

gmrad said

I didn't know it was impossible, so I did it.
Back to the top
 
Posted
Rating:
#55718
Avatar

Fan in training

Oops - I think you are right, Jean!
I pasted the 'old' block and commented it.
( In the future I will c-l-e-a-r-l-y mark the old block
 so I don't make the same mistake again. )

Glad you found it helpful.
 

  • gmrad

gmrad said

I didn't know it was impossible, so I did it.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: