Changing the default size

  • ryan bob
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 9 months ago #736 by ryan bob
Hello, I was wondering how to change the <p> tag size without breaking the + and - font size functions at the top of the template? I put font-size: 13px in the p { } in template-css.css and the font-size changing buttons stopped working. The default size looks fine to me but I feel it's a tad too small for many people. Thanks.

Please Log in to join the conversation.

  • ryan bob
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 9 months ago #737 by ryan bob
One more question: I disabled the Flash fonts but now all the headers are showing up colored white. I want them to be black, but when I change them the white overrides the black from an inline style. I can't seem to find this inline style, so I'm guessing it's from some php file or something. Any help on that would be appreciated. Thanks.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 9 months ago #740 by milos
Replied by milos on topic Re:Changing the default size
Please open layout.css and change font size in html{ } to keep font resize function working.

After disabling Flash fonts, they should be colored dark gray (if you haven't change anything in css files). You can edit color in template_css.css (".componentheading, h1" and ".contentheading, h2")

Please Log in to join the conversation.

  • ryan bob
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 9 months ago #747 by ryan bob
Thanks! Btw I figured out the problem with the headers. In index.php, there was the following:

Code:
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/hot_architecture/css/template_css.css" type="text/css" /> <style type="text/css"> <!-- <?php require(dirname(__FILE__).DS.'/css/template_css.php'); ?> --> </style>

Unfortunately, the inline stylesheet was after the external one, and it was overriding the external. I still for the life of me can't figure out why the inline style was different from the external, considering they both grab from template_css.css; I would love to know because I am clueless on that one. Either way, I just switched them around so the external one overrides the inline, and now I get the color I want.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 9 months ago #750 by milos
Replied by milos on topic Re:Changing the default size
The inline style template_css.php is used only for elements that are changeable in template parameters.

The external style template_css.css is used for all other (unchangeable) elements.

If you don't like to have inline style, you can set all parameters, then open source of your page and copy all CSS code in template_css.css. Then you can delete line that calls template_css.php. After that, you wouldn't be able to change parameters anymore.

Please Log in to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum