Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2005
    Posts
    146
    Plugin Contributions
    0

    Default Changing fonts in define_main_page

    Hi,

    I'm using the admin editor to change this file, and I can't get the font to change. It accepts the color change, but not the font. Can someone point me in the right direction?

    Here's the actualy HTML output:

    Code:
    <div id="indexDefaultMainContent" class="content">Welcome to Straight Razor Designs!
    
    <p>Our goal is to offer you only the finest in men's wet shaving and grooming products - products that we personally have used and endorse.<p><br>
    
    <div style="color:#95602c; font-weight:bolder; font-family:'Lucida Sans Unicode';">
    
    <center>
    Check out our beautiful in stock Maestro Livi Customs.<br><br>
    <a href="http://straightrazordesigns.com/index.php?main_page=index&cPath=7_39"><img src="/images/frontpage/1.gif" /></a><br><br>
    
    Wow Look at these American Craftsmen Beauties.<br><br>
    <a href="http://straightrazordesigns.com/index.php?main_page=product_info&products_id=78"><img src="/images/frontpage/3.gif" /></a><br><br>
    
    Check out the complete line of Truffit & Hill Toiletries.<br><br>
    <a href="http://straightrazordesigns.com/index.php?main_page=index&manufacturers_id=3"><img src="/images/frontpage/2.gif" /></a><br><br>
    
    Kent Handmade Hair Brushes and Toothbrushes will be arriving soon!<br><br>
    <img src="/images/frontpage/5.gif" /><br><br>
    
    We will be adding soon Dovo Straight Razors and Grooming Tools.<br><br>
    <img src="/images/frontpage/6.gif" /><br><br>
    
    Also coming soon is a great selection of Merkur Double Edge Razors.<br><br>
    <img src="/images/frontpage/7.gif" /><br><br><br>
    </center>
    
    </div></div>
    Thanks
    David

  2. #2
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Changing fonts in define_main_page

    font-family:'Lucida Sans Unicode'
    You can not actually control the font that is seen by a users browser...
    This is fully dependant upon what fonts they have available.
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Mar 2005
    Posts
    146
    Plugin Contributions
    0

    Default Re: Changing fonts in define_main_page

    But none of the websafe fonts that I put in there seem to make a difference Lucidia Sans, Arial, etc... Is there something that could be overriding this?

    Thanks
    David

  4. #4
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Changing fonts in define_main_page

    Are you using the html editor?
    Zen-Venom Get Bitten
    Get Your Business Found

  5. #5
    Join Date
    Mar 2005
    Posts
    146
    Plugin Contributions
    0

    Default Re: Changing fonts in define_main_page

    Quote Originally Posted by kobra View Post
    Are you using the html editor?
    No.. I'm using the plain text editor.. <confused>

    Thanks
    David

  6. #6
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Changing fonts in define_main_page

    No.. I'm using the plain text editor.. <confused>
    You can either set it to always use it
    Admin > config > my store > HTML Editor > set to html area

    Or for one session - admin > tools > Define Pages Editor > select htmlarea from drop box
    Now until you log out - it will be used over the plain text editor...

    FYI - You can toggle between them in the html area nav bar by selecting the <> icon
    Zen-Venom Get Bitten
    Get Your Business Found

  7. #7
    Join Date
    Mar 2005
    Posts
    146
    Plugin Contributions
    0

    Default Re: Changing fonts in define_main_page

    But that still leaves me with why a perfectly valid div style would be ignored? I can load the code into a seperate html file, and it processed correctly..

    Thanks
    David

  8. #8
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Changing fonts in define_main_page

    You need to provide more detail about what it is you are seeing and a link and description of what you expected and what is there helps
    Zen-Venom Get Bitten
    Get Your Business Found

  9. #9
    Join Date
    May 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Changing fonts in define_main_page

    i have the same problem i want to change the font size .. but i it is not found somewhere in the css file.. i tried to investigate it with firefox... and i saw this line of code.. but I can't locate it in any file
    Code:
    <span lang="en-US" style="font-size: 11pt; font-weight: bold;">HERE IS YOUR DEFINE MAIN PAGE TEXT</span>

    and this

    Code:
    element.style {
      font-size:11pt;
      font-weight:bold;
    }
    i need help on where to find or put this

  10. #10
    Join Date
    Mar 2005
    Posts
    146
    Plugin Contributions
    0

    Default Re: Changing fonts in define_main_page

    I finally switched over to the HTML editor, as I didn't have time to work through this. Once I install a test site I'll try again..

    I can't see why my code didn't work.. An inline div should overide any css styles, but this time it didn't..

    I'll post back once I can get to it.

    dw

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing sidebox title fonts
    By livingstons in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Apr 2008, 07:16 AM
  2. Fonts from HTML Editor, ALL Page Heading Fonts...
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Feb 2008, 02:08 AM
  3. Subcategory Fonts
    By heavenlylingerie in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Nov 2007, 09:32 PM
  4. Changing Title Fonts
    By aarevalo in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Jun 2007, 10:34 PM

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
  •