Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP eStore – Styling Variation Buttons

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore – Styling Variation Buttons

Tagged: variation

  • This topic has 6 replies, 2 voices, and was last updated 14 years, 6 months ago by JackAubrey.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • November 9, 2010 at 4:40 pm #2197
    JackAubrey
    Member

    This might be kind of weird question but is it possible to style the variation buttons in a way that’s different from the standard pulldowns? The default one doesn’t really match the font of my overall site and I’d love to change the colors of the arrows and the color background that the arrows are on.

    Just curious…

    -JA

    November 10, 2010 at 12:39 am #26333
    amin007
    Participant

    Open the “wp_eStore_style.css” file and look for the following CSS code:

    .eStore_variation{
    margin-top:0px;
    margin-bottom:0px;
    }

    The class “eStore_variation” is responsible for how the variations look so change the above CSS to how you want to style it.

    November 10, 2010 at 1:35 am #26334
    JackAubrey
    Member

    So I tried to test this by changing the font and it didn’t work. I put in:

    .eStore_variation{

    margin-top:0px;

    margin-bottom:0px;

    font-family: georgia;

    }

    -JA

    November 10, 2010 at 5:26 am #26335
    amin007
    Participant

    There are two things here. One is the full area that controls the labels of the variations and buttons. The other is the individual variation drop down.

    paste the following code in the “wp_eStore_style.css” file and you should see a change:

    .eStore-button-form{
    font-size:20px;
    font-family:arial;
    }

    .eStore_variation{
    margin-top:0px;
    margin-bottom:0px;
    font-size:20px;
    font-family:arial;
    }

    Now tweak it slowly to what you want.

    November 10, 2010 at 1:31 pm #26336
    JackAubrey
    Member

    Thanks so much — that’s really helpful.

    One hopefully last question: Do you know how I would alter the font of the variation options themselves? With this I was able to alter the variation type, i.e., “Hand: left/right” where “hand” changed fonts but not the options. And do you know if it’s possible to change the color of the arrows that are on the blue background on the far right-hand side of the variation options? I know this is incredibly nitpicky and OCD of me, but I figured I would at least give it a shot before moving onto other priorities. I can’t seem to find out what the proper selector is using firebug…

    -JA

    November 11, 2010 at 1:14 am #26337
    amin007
    Participant

    I don’t think you can choose the color of arrow as those comes from the browser (this why you will see on safari or on a mac system they look different).

    You should be able to change the font color, size etc by modifying the “eStore_variation” class but I am pretty sure your theme has another CSS definition of how it looks and that one is taking precedence so even though you are changing “eStore_variation” it is not taking effect. So look for the CSS for select boxes in your theme.

    November 11, 2010 at 2:28 am #26338
    JackAubrey
    Member

    Okay that’s helpful. I didn’t realize that the browser controlled that but it makes sense. Also makes sense that the theme is fighting my attempts to modify “estore_variation” — I actually noticed it acting a little funny before so that makes good sense too.

    Thanks for your help — I’ll take a crack and see if I can get it styled into some kind of decent shape!

    -JA

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ