Support

Home Forums Event Espresso Premium view cart button in

view cart button in

Posted: February 5, 2013 at 11:56 pm

Viewing 3 reply threads


rshaik

February 5, 2013 at 11:56 pm

How to display view cart button instead of view cart link.

$cart_link = event_espresso_cart_link($params);
    }
    $display_cart_link = do_shortcode('[EE_META type="event_meta" name="display_cart_link"]');
    if ($display_reg_form == 'Y') {
        ?>

    <p id="register_link-" class="register-link-footer">
             &lt;a class=&quot;a_register_link&quot; id=&quot;a_register_link-" href="" title=""&gt;&lt;?php _e('', 'event_espresso'); ?&gt;</a>



         &lt;p id=&quot;register_link-" class="register-link-footer"&gt;
             &lt;a class=&quot;a_register_link&quot; id=&quot;a_register_link-" href="" title=""&gt;&lt;?php _e('', 'event_espresso'); ?&gt;</a> 


Dean

February 6, 2013 at 2:49 am

Hi,

Why not use CSS to target the links and style with CSS or use a background image?

a.ee_view_cart {
background: #eee url(images/fakeimage.jpg) top left no-repeat;
border: #000 thin solid;
border-radius: 4px;
text-indent: -9999px;
display: inline-block;
}


rshaik

February 6, 2013 at 10:19 pm

Where should I put this css? I need to style my event list call on the home page. Thank you !


Dean

February 6, 2013 at 11:46 pm

HI,

Your themes style.css file at the bottom or you can use a plugin such as Custom CSS

Viewing 3 reply threads

The support post ‘view cart button in’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso