Forum Replies Created

Viewing 9 replies - 76 through 84 (of 84 total)
  • #primary and #secondary affect the entire sidebar(s).

    Why is it that you want to add a separate menu for each menu item?

    There should be only one “main menu”, and all its “items” in it.

    The sidebar widths are settable within Mantra Options. Please browse the options and you’ll see several size options in there.

    the.Zedt

    (@doryan-gray)

    I found an alternate jquery.countdown.js file that functions correctly on IE 8 (didn’t try older versions):

    /*
     * jquery-counter plugin
     *
     * Copyright (c) 2009 Martin Conte Mac Donell <Reflejo@gmail.com>
     * Dual licensed under the MIT and GPL licenses.
     *
     * http://docs.jquery.com/License
     */
    /* fixed for IE8 */
    
    jQuery.fn.countdown = function(userOptions)
    {
      // Default options
      var options = {
        stepTime: 60,
        // startTime and format MUST follow the same format.
        // also you cannot specify a format unordered (e.g. hh:ss:mm is wrong)
        format: "dd:hh:mm:ss",
        startTime: "01:12:32:55",
        digitImages: 6,
        digitWidth: 53,
        digitHeight: 77,
        timerEnd: function(){},
        image: "digits.png"
      };
      var digits = [], interval;
    
      // Draw digits in given container
      var createDigits = function(where)
      {
        var c = 0;
        var tempStartTime = options.startTime;
        // Iterate each startTime digit, if it is not a digit
        // we'll asume that it's a separator
        for (var i = 0; i < options.startTime.length; i++)
        {
          if (parseInt(tempStartTime.charAt(i)) >= 0)
          {
            elem = jQuery('<div id="cnt_' + i + '" class="cntDigit" />').css({
              height: options.digitHeight * options.digitImages * 10,
              float: 'left', background: 'url(\'' + options.image + '\')',
              width: options.digitWidth});
            digits.push(elem);
            margin(c, -((parseInt(tempStartTime.charAt(i)) * options.digitHeight *
                                  options.digitImages)));
            digits[c].__max = 9;
            // Add max digits, for example, first digit of minutes (mm) has
            // a max of 5. Conditional max is used when the left digit has reach
            // the max. For example second "hours" digit has a conditional max of 4
            switch (options.format.charAt(i)) {
              case 'h':
                digits[c].__max = (c % 2 == 0) ? 2: 9;
                if (c % 2 != 0)
                  digits[c].__condmax = 3;
                break;
              case 'd':
                digits[c].__max = 9;
                break;
              case 'm':
              case 's':
                digits[c].__max = (c % 2 == 0) ? 5: 9;
            }
            ++c;
          }
          else
            elem = jQuery('<div class="cntSeparator"/>').css({float: 'left'})
                    .text(tempStartTime.charAt(i));
    
              where.append('<div>');
          where.append(elem);
              where.append('</div>');
        }
      };
    
      // Set or get element margin
      var margin = function(elem, val)
      {
        if (val !== undefined)
          return digits[elem].css({'marginTop': val + 'px'});
    
        return parseInt(digits[elem].css('marginTop').replace('px', ''));
      };
    
      // Makes the movement. This is done by "digitImages" steps.
      var moveStep = function(elem)
      {
        digits[elem]._digitInitial = -(digits[elem].__max * options.digitHeight * options.digitImages);
        return function _move() {
          mtop = margin(elem) + options.digitHeight;
          if (mtop == options.digitHeight) {
            margin(elem, digits[elem]._digitInitial);
            if (elem > 0) moveStep(elem - 1)();
            else
            {
              clearInterval(interval);
              for (var i=0; i < digits.length; i++) margin(i, 0);
              options.timerEnd();
              return;
            }
            if ((elem > 0) && (digits[elem].__condmax !== undefined) &&
                (digits[elem - 1]._digitInitial == margin(elem - 1)))
              margin(elem, -(digits[elem].__condmax * options.digitHeight * options.digitImages));
            return;
          }
    
          margin(elem, mtop);
          if (margin(elem) / options.digitHeight % options.digitImages != 0)
            setTimeout(_move, options.stepTime);
    
          if (mtop == 0) digits[elem].__ismax = true;
        }
      };
    
      jQuery.extend(options, userOptions);
      this.css({height: options.digitHeight, overflow: 'hidden'});
      createDigits(this);
      interval = setInterval(moveStep(digits.length - 1), 1000);
    
    };
    the.Zedt

    (@doryan-gray)

    I’d recommend adding a:link, a:visited { text-decoration: underline; } in Mantra’s custom css field.
    Changes to style.css are lost on theme update.

    the.Zedt

    (@doryan-gray)

    In Mantra’s color settings, leave the Header & menu background color field empty. This will make it transparent.

    the.Zedt

    (@doryan-gray)

    #footer-widget-area a { font-size: 75px; } works.
    Just add this in Mantra’s custom css box

    the.Zedt

    (@doryan-gray)

    Add this css code to Mantra’s custom css box:
    #access, #access .menu-header ul, div.menu ul { z-index: 2002; }

    This is caused by a javascript library change introduced in WordPress 3.2. This will be fixed in the next release of the theme.

Viewing 9 replies - 76 through 84 (of 84 total)