SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2008
    Location
    Margate South Africa
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Blogger Font adjustments???

    Hi guys from South Africa,
    I have a Blog at http://south-africa-real-estate.blogspot.com. In my Sidebar is a Text Element which starts with "Good Value Properties". I have adjusted already with Bold and Colour but I now want to make all the text much smaller. Where do I do this? How do I fit in font tags and where do I put them?
    Thanks
    Alan Butterworth
    alanbutt
    http://alcoholism-alifesentence.blogspot.com
    Recovery from Alcoholism,Depression,Addiction and Anxiety

  2. #2
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Holy smokes, that website needs some serious work, your HTML is padded out with divitis and illegal syntax and i am not so keen on the design.

    PS: On a constructive note you can alter the text size by using the CSS element Font-Size: 14px; (Replacing the value with whatever you need).

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2008
    Location
    Margate South Africa
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the input. Scary stuff. Is it that bad???? What is illegal? Another stupid newbie qustion. Where do I add the new font size? I do know that the Text Element in question is called Text2.
    Cheers
    Alan Butterworth
    http://south-africa-real-estate.blogspot.com
    alanbutt
    http://alcoholism-alifesentence.blogspot.com
    Recovery from Alcoholism,Depression,Addiction and Anxiety

  4. #4
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by alanbutt View Post
    Thanks for the input. Scary stuff. Is it that bad???? What is illegal? Another stupid newbie qustion. Where do I add the new font size? I do know that the Text Element in question is called Text2.
    Cheers
    Alan Butterworth
    http://south-africa-real-estate.blogspot.com
    Yes sorry, I used the PX value as an example of what is possible, you do want to use em to maintain scalability. Because your website does not validate, uses unnecessary tags and is very overly convoluted, it may damage your search engine ranking and your accessibility (for people who use speech browsers). The problem is there are such a large number of errors there if it were me I would probably write a fresh HTML / CSS combination (to get the same look) from scratch. But that would be me (I am a standards nut).

    PS: by illegal syntax I mean that the code does not match the rules of the languages used (HTML / CSS), you have tags which have not been correctly implemented (even if you exclude the semantic meaning of them). You would need to place the text size within the CSS declaration for “Text2” if this is the name of the item.

  5. #5
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Find the element that holds Text2 such as a <p> or some sort of other tag.

    On that in your CSS reference that element via an ID/class and add
    Code:
    (element here to target the Text2)
    {
      font-size:1em;
    }
    Don't use px as Alex said as won't be able to use text resizes.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •