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.


Custom Comcode font

Login / Search

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

Fan in training

I have a quick question regarding the custom comcode.

Can I change the default font from the comcode box?

Thanks!
Back to the top
 
Posted
Rating:
#110548
Avatar

Community saint

Hi, check out this Tutorial (specifically Rich Typography). You can also apply the default fonts for text on pages and posts individually, also colour, size, format, etc (but I am sure you know that already).
Back to the top
 
Posted
Rating:
#110655
Avatar

Fan in training

I don't think it's the way to do it. Here is an example of my custom comcode (The paypal box):

http://precisionracingleague.com/ocp/forum/index.php?page=topicview&id=project-cars%2Famerican-project-cars_5%2Fseason-2-sign-up

I want to change the font of the box, of the custom comcode.
Back to the top
 
Posted
Rating:
#110666
Avatar

Community saint

Edit that page and look in the source view of the editor. You should be able to identify where the issue is easily enough.
Back to the top
 
Posted
Rating:
#110692
Avatar

Fan in training

Ok I'm able to fix it with <font face ="">

What's the default font of oc portal? What's the default font when we reply to a thread (like this one :P)
Back to the top
 
Posted
Rating:
#110730
Avatar

Fan in training

Anyone knows?
Back to the top
 
Posted
Rating:
#110737
Avatar

Default font is as defined in CSS. This is the default CSS:

Code

body, .email_body, textarea, input, td, th {
   /* 'Open Sans' is a Google font, and only will be enabled if uncommented in HTML_HEAD.tpl -- so normally it is Segoe UI (Windows, newer version of Tahoma) or Tahoma that is active (available on Windows and Mac since Leopard) or a similar humanist sans-serif font */
   font-family: 'Open Sans', 'Segoe UI', Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

So Segoe UI or Tahoma.

(fonts flow through the page unless overridden, individual content doesn't have a specified font unless specifically set within that content)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#110742
Avatar

Fan in training

Got it! Thx!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: