Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • silaslin Friend
    #123497

    Hello, this template is exellent.

    There is a little problem I can’t solve.
    When I change the css as following, and change the css of mod_latestnews to ‘-green icon1’, ‘-blue icon1’ and ‘-red icon1’, they can’t align to center as the default module do.

    ————————————————
    /* silaslin’s custom modules */
    /* green */
    div.moduletable-green h3 {
    margin: 0 -1px 5px;
    padding: 1px 0 1px 0;
    font-size: 125%;
    color: #336600;
    }

    div.moduletable a,
    div.moduletable-green a {
    color: #336600;
    text-decoration: underline;
    }

    div.moduletable a:hover, a:active, a:focus,
    div.moduletable-green a:hover, a:active, a:focus {
    color: #92C022;
    text-decoration: underline;
    }

    /* blue */
    div.moduletable-blue h3 {
    margin: 0 -1px 5px;
    padding: 1px 0 1px 0;
    font-size: 125%;
    color: #333366;
    }

    div.moduletable a,
    div.moduletable-blue a {
    color: #333366;
    text-decoration: underline;
    }

    div.moduletable a:hover, a:active, a:focus,
    div.moduletable-blue a:hover, a:active, a:focus {
    color: #92C022;
    text-decoration: underline;
    }

    /* red */
    div.moduletable-red h3 {
    margin: 0 -1px 5px;
    padding: 1px 0 1px 0;
    font-size: 125%;
    color: #990000;
    }

    div.moduletable a,
    div.moduletable-red a {
    color: #990000;
    text-decoration: underline;
    }

    div.moduletable a:hover, a:active, a:focus,
    div.moduletable-red a:hover, a:active, a:focus {
    color: #92C022;
    text-decoration: underline;
    }

    /* orange */
    div.moduletable-orange h3 {
    margin: 0 -1px 5px;
    padding: 1px 0 1px 0;
    font-size: 125%;
    color: #FF9966;
    }
    ————————————————

    There is a live website here:
    http://victorychurch.org.tw/

    What should I do next?

    Khanh Le Moderator
    #231800

    That’s a nice modification. Please add following css to fix the problem:


    #ja-topsl div.moduletable-green, #ja-topsl div.moduletable-blue, #ja-topsl div.moduletable-red
    {
    margin:0pt;
    padding:5px 20px;
    }

    silaslin Friend
    #231810

    Thanks a lot!
    It works.

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

This topic contains 3 replies, has 2 voices, and was last updated by  silaslin 17 years, 1 month ago.

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