The Colors Menu Item In Pro

Discussion in 'Templates customization' started by burnspot, May 26, 2003.

  1. burnspot

    burnspot New Member

    Joined:
    Mar 26, 2003
    Messages:
    31
    In the Pro version config menu, there is an "aMember Pro Configuration : Colors
    colors and fonts configuration". Mine is blank except for a "Save" and "Back" button. Is there something I should enable to get this to display or is this a placeholder for future stuff?

    I already have everything formatted to my liking, but was merely curious as to why that setting is there, heh.
  2. alex-adm

    alex-adm Guest

    yes, it is just placeholder.
    edit stylesheet inside amember/templates/header.html instead to get real freedom ;)
  3. burnspot

    burnspot New Member

    Joined:
    Mar 26, 2003
    Messages:
    31
    Cool, yep, already wore out header.html ;)
  4. lriggs

    lriggs New Member

    Joined:
    Dec 28, 2005
    Messages:
    1
    Editing styles in header.html

    OK. I have header.html downloaded. Now, here's the code I'm looking at:

    body, th, td {
    background-color: #$config.page_bg#;
    color: #$config.page_fg#;
    ...}

    Suppose I want to have background & color to be as follows:

    body {
    background: #000000 url (images/someimage.jpg);
    color: #cdcdcd;
    }

    (th, td would would be styled some other way)

    Do I just hardcode that into header.html? I am puzzled by the #$config.page_bg# and #$config.page_fg# and went looking without success for a php page that contained define statements for those items. Was I on the wrong track? Are those just placeholders for what I should be coding as I want above? And what about the directory for the that jpg image? What's the appropriate path for that? I think once I understand this I'll "get" the rest of it pretty much.

    Thanks.
  5. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    #$config.page_bg# and #$config.page_fg# are substituted from aMember Cp -> Setup -> Colors. You can safely hardcode any values.
    Use links relative to server Root, like
    href="/images/tt.jpg"
    Don't use relative links because templates can be called from number of different URls.

Share This Page