WordPress.org

Ready to get started?Download WordPress

Forums

T(-) Countdown
[resolved] Omit Weeks & Display DAYS in line with others (6 posts)

  1. shumail
    Member
    Posted 1 year ago #

    Hi,

    I am trying to modify code but still unable to get what i want. I want to omit weeks for which theres an option. I did that but now i want DAYS to appear in same line in which HOURS, MINUTES and SECONDS are -

    DAYS HOURS MINUTES SECONDS

    How can I get this ? Please help me

    http://wordpress.org/extend/plugins/jquery-t-countdown-widget/

  2. shumail
    Member
    Posted 1 year ago #

    P.S: Link for website is http://www.drtahirulqadri.com/main

  3. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Which CSS style are you wanting to use?

  4. shumail
    Member
    Posted 1 year ago #

    I am trying to use JEDI.

  5. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    First of all, for Days, Hours, Minutes and Seconds to show on the same line, the dashboard will have to be expanded to at leaste 298px by adding the following css to your theme’s style.css file:

    .jedi-dashboard {
    	width: 298px !important;
    }

    Next, to force days to show on the same line as Hours, Minutes and Seconds you must add the following css to the theme's style.css file:

    .jedi-hours_dash {
    	clear: none !important;
    }

    This will work fine if you are using the shortcode in a post or page like so:
    [tminus t="12-12-2012 12:00:00" omitweeks="true"] as demonstrated here.

    However, if you wish to have this displayed correctly in the sidebar, it will depend on how wide your sidebar is. For example, if your sidebar is 250px, then you will either need to use an image editing program to resize the background images, or use another, pure CSS style such as 'TIE-fighter' or 'c-3po'. Either way, you will have to understand a bit about how CSS works to make such changes.

  6. shumail
    Member
    Posted 1 year ago #

    Thanks a lot :) It worked !

    Thumbs up !!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.