Viewing 6 replies - 1 through 6 (of 6 total)
  • Nicola Peluchetti

    (@nicolapeluchetti)

    1) i asked our FE guy how to do this. I have no idea and curious for the answer
    2) We have a settings to hide that button in the calendar page. But it doesn’t work in the widget. hide it in CSS

    .ai1ec-agenda-widget-view .ai1ec-subscribe {
      display: none;
    }

    should work

    Thread Starter biko004

    (@biko004)

    Hey,

    Thank you, I’lll wait for the answer.

    I’ve used your code and the button disappear, for some reason there is underline instead. any way to hide this?
    https://postimg.org/image/dug6xfed1/

    Thanks again!

    Hello

    Here a CSS fix that should work. You might need to add “!important” after some (or all) values, for example margin: 0 !important; if you insert this CSS fix before the Calendar’s styles.

    .ai1ec-agenda-widget-view .ai1ec-date-events {
    	margin: 0;
    }
    .ai1ec-agenda-widget-view .ai1ec-event {
    	margin: 6.5px 4.8em 6.5px 0;
    	direction: rtl;
    }
    .ai1ec-agenda-widget-view .ai1ec-date-title {
    	position: absolute;
    	right: 2em;
    }

    Let me know, please, if it worked for you.

    Pavel.

    You can try this to remove it completely:

    .ai1ec-agenda-widget-view .ai1ec-dropdown {
      display: none;
    }
    Thread Starter biko004

    (@biko004)

    Hi Pavel!

    Thank for the fast answer.

    I’ve tried the CSS fix, I add it to my theme custom css and it doesnt look good.
    Here’s a picture:
    https://postimg.org/image/oe7jgzi0n/

    I tried the other code to remove the “add” button completely but it’s doesnt work.

    Maybe I’m doing something wrong?

    Thanks.

    Hi

    Looks like it partly worked, but something is still wrong with the margins.
    What theme are you using? I did my experiments with “Twenty Fourteen” WP theme and “Umbra 2.0.0.” Calendar theme.

    Can you, please, make sure you are adding this fix to the end of your stylesheet?
    You can also try adding ‘!important’ to make sure it doesn’t interferer with the theme or anything else, like :

    margin: 6.5px 4.8em 6.5px 0 !important;

    These margin values might need some adjustments depending on the theme you are using.

    Pavel.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Switch view of upcoming events to rtl’ is closed to new replies.