Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Xanthia and Content Express
  • Posted: 04.04.2005, 14:54
     
    Thox
    rank:
    Freshman Freshman
    registered:
     February 2005
    Status:
    offline
    last visit:
    30.08.05
    Posts:
    10
    I have a Xanthia theme running on a 0.76 RC3 version of PostNuke and have just recently installed Content Express.

    I am having trouble getting the text formatting in the Content Express editor to show up on the site.

    At first I though this was a bug with PostNuke and posted as such in the BugTracker as here

    http://noc.postnuke.com/tracker/index.php?func=detail&aid=1797&group_id=5&atid=101

    However, after Mark looked at this he stated that it is a theme problem and not a problem with PostNuke or content express. Following Marks advice I removed the FONT tag from style.php, (but not from the other syle definitions, ie body, content, navbars, etc). Tried this but still with no success.

    Anybody got any ideas what I'm doing wrong?

    Thanks in advance

    Thox
  • Posted: 04.04.2005, 14:58
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    I look at your site now and the font size has changed - perhaps your stylesheet was cached?

    -Mark
  • Posted: 04.04.2005, 15:06
     
    Thox
    rank:
    Freshman Freshman
    registered:
     February 2005
    Status:
    offline
    last visit:
    30.08.05
    Posts:
    10
    For some reason it was, but it wasn't switched on.

    In addition, I have also tried HTML Pages and this also does not provide the correct formatting for the text.

    Any suggestions, would be grateful.

    Thox
  • Posted: 04.04.2005, 15:24
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    As I said in the bug report it is the correct formatting that is applied but the CSS your theme is using may be overriding parts. Avoid font tags at all costs. Review your markup and understand the interaction between CSS and HTML.

    -Mark
  • Posted: 04.04.2005, 16:22
     
    Thox
    rank:
    Freshman Freshman
    registered:
     February 2005
    Status:
    offline
    last visit:
    30.08.05
    Posts:
    10
    I've narrowed the problem down to this style, in my style.php file: -

    '.content {'."\n".
    ' BACKGROUND: none;'."\n".
    ' font-size: ' . "$size_text".'px;'."\n".
    ' FONT-FAMILY: geneva,arial,Verdana, Helvetica'."\n".
    '}'."\n\n".

    If I remove this the text is formated correctly in that the font sixes are correct, however, this results in the bullets, next to menu items, the text in the online block, the text in the test article section and the text in admin messages, changing to a black color. Any idea what style controls these colors.

    Thox
  • Posted: 04.04.2005, 16:47
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    All of these things are theme specifc so without me taking the theme apart I can't really advise.

    -Mark

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula