Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Can you provide a link to the page where you are trying to use Weekly Schedule?

    Also, if you go to the Stylesheet section of the Weekly Schedule menu in the admin, do you see stylesheet information in the stylesheet editor? If not, please try resetting the stylesheet.

    Thread Starter mrzpro

    (@mrzpro)

    This is the link:
    Prova
    In the admin section I have the correct assigned colors….

    Thread Starter mrzpro

    (@mrzpro)

    Consider that the first event starting at 15:30 and ending at 16:30 is visualized as if duration was more or less half a hour…
    other events are more or less at 20-21

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    The problem is that in your site stylesheet, you have the following entry:

    table td {
    background-color: #FFF !important;
    }

    The !important tag here makes it have more importance than the color specified by Weekly Schedule.

    For the time question, it looks from the code like the duration you set is much more than 30 minutes. Can you select the item in the back-end and send me a screenshot?

    Thread Starter mrzpro

    (@mrzpro)

    Hi Yannick, this is the link for the screenshot:

    Screenshot

    the duration as you can see from the screenshot is 1 hour and 30 minutes….

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Right. Putting a duration of 17h00 means that the show would last 17 hours. You should select 1h30 as the duration to get a show that lasts an hour and a half.

    Please consider donating to support this plugin’s development.

    Thread Starter mrzpro

    (@mrzpro)

    You’ re right but I setted the end at 17:00 but OK now is OK, for the tag !important it comes directly from the main css file I have no tags for this item in the customized one…..

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Look at line 565 of style.css in your site theme, you will see the following:

    table td { background-color: #FFF !important; }

    The important is what is causing the issue.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    If you do not want to modify the theme itself, you can always create a child theme to correct the priority of the table cell background color property.

    Let me know if this resolves the issue and please consider donating to support this plugin’s development.

    Thread Starter mrzpro

    (@mrzpro)

    Hi Yannick, I tried to change priority using the style.css file in my child theme and in addition I tried to add this correct tag inside my-custom.css but….. nothing changes

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    I see. I guess the !important cannot be overridden… Where did you get the original theme from? It might be a good idea to ask the author to change that !important tag in his theme. It’s bad practice to use !important tags, especially in a theme.

    Thread Starter mrzpro

    (@mrzpro)

    Hi Yannick,
    this is the theme “http://themeforest.net/item/news-renad-news-magazine-newspaper/6539422”

    bought by market.envato.com

    for further info do not hesitate to contact me

    Regards

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Background color problem’ is closed to new replies.