Support » Plugin: Dan's Embedder for Google Calendar » Styling Tips Revisited

  • https://wordpress.org/support/topic/styling-tips-2/ had some good information but I did not know how to use it. I responded but should have started a NEW topic and am doing so now.

    I had made some mistakes and @meau let me know “It’s not the best to edit the plugin files for this kind of thing but rather add CSS via Appearance/Customize/Additional CSS”

    That let me know how to do some of the things I wanted:
    1) font to be about 20% bigger – hard to read. (found setting language in jquery.gcal_flow.css) Changing

    .gCalFlow {
    font-size: 100%; 
    }

    Worked in Custom CSS (THANKS!)

    2) row height to be larger so I can see the first line of text about the event – @meau’s help in the other thread and me finding it and making it work started the slippery slope of trying to make this work for me. [except I did it in jquery.gcal_flow.css which I see was the wrong place]

    .gcf-item-body-block {
    	max-height: 3.1em !important;
    }

    Worked in Custom CSS (THANKS!)

    I still cannot figure out
    ======================================
    3) width to be ~500px and length not fixed for 30 entries
    Box size controlled in dans-gcal.php by:

        $disp = "<style>
          #$divid {
            height: 300px;
            width: 300px;

    Custom CSS did not override

    4) title to not really be hyperlinked and just say “MABA Calendar” for example (that one SHOULD be easy but could not get it right (jquery.gcal_flow.js around line 213)

    5) the first lines of text from the event description is coming in as HTML so I do not know why it is not hyperlinked if one was present? Any thoughts appreciated (tried to get insight from https://github.com/sugi/jquery-gcal-flow/issues/7)

    6) Date to be dd-MMM-YY hh:mm tt – I at least got the order to change by switching d.getFullYear()) and (pad_zero(d.getDate())) around in date_formatter: function(d, allday_p) and daterange_formatter: function(sd, ed, allday_p) in jquery.gcal_flow.js
    Then tried this and think this is how I broke the plugin and had to delete and reinstall: https://github.com/sugi/jquery-gcal-flow/pull/39/commits/d7316b7bdf282fe5e8d9b45107ffe34b0c35f952 🙁

    This helped me a little – must be a precursor: http://sugi.github.io/jquery-gcal-flow/#globalize but the globalize formats did not work to change anything.
    ——————
    I appreciate any help you can give me. This all started because the Timely’s All-in-One Event Calendar stopped showing event times so I installed Modern Event Calendar which is also missing times. I found this plugin which is the ideal for what I wanted, something simple that stays up to date shows date/time (and ideally any hyperlinks in the first line can be clicked directly).

    • This topic was modified 1 year, 1 month ago by shellig. Reason: Format problem - no WYSIWYG or preview for posts

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter shellig

    (@shellig)

    #3 fixed with adding !important
    #list1 {
    width: 500px !important;
    height: 1500px !important;
    }
    Still looking at 4-6.

Viewing 1 replies (of 1 total)
  • The topic ‘Styling Tips Revisited’ is closed to new replies.