Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Changing text size


6 replies to this topic

#1 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 06 February 2012, 12:42

I've already successfully changed font styles and the like in this section of the stylesheet.css:

body {
  background: #3B240B;
  color: #D3AB3E;
  margin: 0px;
  font-size: 13px;
  font-family: Georgia, Verdana,Arial,sans-serif;
}

It worked as expected, but changing the font size in the same area (the default is 11) does not yield any effects. What is the problem with font size settings?

#2 PupStar

  • Community Member
  • 397 posts
  • Real Name:Mark
  • Gender:Male

Posted 06 February 2012, 12:57

which text are you trying to change the size of as they are not all controlled with the same style.

Mark
My Contributions (so far):

Join Us On Facebook & Twitter Infobox

Contributions currently installed into osCommerce 2.3.1

  • Ajax Attributes Manager
  • CKEditor
  • Column Listing with smart column (modified)
  • Documents Manager
  • Easy Map
  • EasyPopulate v2_76i_231
  • Mindsparx Specials
  • Mindsparx Admin
  • OTF Auto Thumbnailer v2.4
  • Star Product v1.6 + Mindsparx Pimped version
  • Ultimate SEO Urls
  • Who's Online Enhancement
  • Printer Filter V1.7 (modified)
  • Info Pages Unlimited v2.07
  • Google Feeder V2.6
  • Year Make Model

#3 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 06 February 2012, 13:28

View PostPupStar, on 06 February 2012, 12:57, said:

which text are you trying to change the size of as they are not all controlled with the same style.

Whatever text the body thingy covers. The font I chose is a bit small.

#4 sydjeii

  • Community Member
  • 91 posts
  • Real Name:cj losaria
  • Gender:Female

Posted 06 February 2012, 15:15

You might have extra/unpaired "?>" in your code. I have that problem just this morning and I found out that extra "?>" is causing the problem.
-=PINOY AKO=-

#5 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 06 February 2012, 15:27

View Postsydjeii, on 06 February 2012, 15:15, said:

You might have extra/unpaired "?>" in your code. I have that problem just this morning and I found out that extra "?>" is causing the problem.

Isn't that PHP syntax? I'm trying to work on CSS to change the font size. Besides, I haven't touched the code other than to change the values.

Edited by oxwivi, 06 February 2012, 15:27.


#6 sydjeii

  • Community Member
  • 91 posts
  • Real Name:cj losaria
  • Gender:Female

Posted 06 February 2012, 15:36

View Postoxwivi, on 06 February 2012, 15:27, said:

Isn't that PHP syntax?

yes.

maybe another style is overwriting the style you have for the body. Try to use the "inspect element" feature of your browser to check the css.
-=PINOY AKO=-

#7 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 09 May 2012, 05:54

View Postsydjeii, on 06 February 2012, 15:36, said:

Try to use the "inspect element" feature of your browser to check the css.

Thanks for the tip, I figured out the section I need to change using that.