Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Leon Cuzzilla Friend
    #196647

    How do I change the body font colour to black in the active article with the white background and white in all other articles with the black background. If I change

    .view-featured .article-intro, .blog-featured .article-intro, .blog .article-intro {color: #000000} all article fonts change to black.

    I thought I could just change active article to black here eg

    .item.active article .view-item {color: #000000} but this doesn’t work either.

    Can you tell me which bit of css would do this please.

    Many thanks

    TomC Moderator
    #530439

    So that we can try to best assist you, please provide the url of the site you’re working on,
    as well as temporarily set “Optimize CSS” to “No/Off” within your Template Manager–General settings

    Leon Cuzzilla Friend
    #530527

    Thanks here is url

    http://parkwoodairliebeachaccommodation.com.au/joomla/

    optimize css set to off

    chavan Friend
    #530537

    Go to this File: /templates/ja_smashboard/css/template.css

    Replace this code


    body { background: #fff url("../images/body-bg.jpg") repeat; background-size: cover; background-attachment: fixed; color: #666 font-family: 'Open Sans', arial, sans-serif; line-height: 1.5; margin: 0; height: 100%; }

    with


    body { background: #fff url("../images/body-bg.jpg") repeat; background-size: cover; background-attachment: fixed; color: #000 font-family: 'Open Sans', arial, sans-serif; line-height: 1.5; margin: 0; height: 100%; }

    Leon Cuzzilla Friend
    #530725

    That changes the active article but not the articles to the right as the background is dark you can’t see the writing. Is there any way to make these articles have white writing.


    1. Screen-Shot-2014-04-13-at-8.48.53-pm
    Nazario A Friend
    #530941

    @ imatilda,

    Please create a new file called “custom.css” in the /templates/your_template_name/css/ path, then add this rule:

    .item article {
    background: #FFFFFF;
    }
    .item article:hover {
    background: #FFFFFF;
    }
    .blog-featured .article-intro, .view-featured .article-intro, .blog .article-intro {
    height: 11em;
    }

    * You can change the color in red as you wish.

    Also, you can refer to this tip to use the class suffix for customisation. Then add CSS style for such suffix via the /templates/your_template_name/css/custom.css file.

    Hope this helps.

    Leon Cuzzilla Friend
    #531668

    Thanks I’ll make these customisations.

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  Leon Cuzzilla 10 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum