Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter gh421

    (@gh421)

    If it helps to see the site; In a post on http://www.androidcruze.com you’ll see I have a “download from market” text link that are unique for each post. Below that is a global “find this and more on google play” button that is not unique for each post, so I could place that in functions.php to be shown on each post. I would like to have the “download from market” as a button. Only have to run a “convert txt link to button function” once as all new posts will be buttons with the shortcode calls anyway. I really don’t want to manually change 300 odd posts to be a button if I can avoid it.

    This is the code to style the button I am using (as suggested on another css help site):

    /*GH Reference.  Added below for buttons*/
    .action-button a:link, .action-button a:visited {
           border-radius: 5px;
           display: inline-block;
           font: 700 16px Arial, Sans-Serif;
           margin: 0 20px 10px 0;
           -moz-border-radius: 5px;
           padding: 8px 8px;
           text-align: center;
           text-decoration: none;
           text-shadow: 0 1px 1px rgba(0,0,0,0.3);
           text-transform: uppercase;
           -webkit-border-radius: 5px;
    }
    
    .action-button .subtitle {
           display: block;
           font: 400 11px Arial, Sans-Serif;
           margin: 5px 0 0;
    }
    
    .blue-button a:link, .blue-button a:visited {
           background-color: #5E9CB9;
           background-image: -moz-linear-gradient(top, #5E9CB9, #4E7E95);
           background-image: -webkit-gradient(linear, left top, left bottom, from(#5E9CB9), to(#4E7E95));
           color: #FFF;
           filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5E9CB9', EndColorStr='#4E7E95');
           -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#5E9CB9', EndColorStr='#4E7E95')";
    }
    
    .blue-button a:hover {
           background-color: #68A9C8;
           background-image: -moz-linear-gradient(top, #68A9C8, #598EA8);
           background-image: -webkit-gradient(linear, left top, left bottom, from(#68A9C8), to(#598EA8));
           color: #FFF;
           filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#68A9C8', EndColorStr='#598EA8');
           -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#68A9C8', EndColorStr='#598EA8')";
    }

    Thread Starter gh421

    (@gh421)

    Hey stephencottontail, thanks for the suggestion.

    Would I have to change the links manually for each existing post with that method? As in editing each post, or would that be a global change and every link would be a button?

    Thread Starter gh421

    (@gh421)

    Ahh, ok, I’ll check out the code link you posted. Hoping that change will make the difference. My small code in the wind.css file just didnt seem to be executed and therefore wasn’t being styled (positioned). If I can’t get it working, I will make the change to Wind theme live, and post you the link. Thanks for your help alchymyth

    Thread Starter gh421

    (@gh421)

    Hi alchymyth,
    I am developing the migration from Arras theme to Wind them offline, so it’s not live. I can do the change to theme on the live version without adding the widget area to the header if it would help.

    There’s not much support on the Wind Theme, but I will post my question in there too.

    With the coding example you suggested, wouldn’t
    ‘before_widget’ => ‘<div class=”header-widget-area”>’,
    ‘after_widget’ => ‘</div>’,
    have those values overwritten when function wind_widgets_init() executes? It sets ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container %2$s”>’, ‘after_widget’ => ”,

    So with that, how would I position it in css?

    Thread Starter gh421

    (@gh421)

    cool. look forward to it

    Thread Starter gh421

    (@gh421)

    thanks for the reply tom. It seems to work fine with the change to the style sheet I mentioned above.

    Thread Starter gh421

    (@gh421)

    I guess a work around to position menu elsewhere on the screen would be adding

    body #mega-menu-wrap-top-bar{position:absolute;top:70px;}

    to the style sheet, but is there an option to set this in the actual plugin? seems lame to just position it about 40px from the top so I would think there’s a place to set it. Maybe??

Viewing 7 replies - 16 through 22 (of 22 total)