Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi,

 

I am doing some template changes and need some help on CSS classes as follows:

i have 12 buttons I've added the same class to each with say .firstclass to get them all the same,

next is the part I need help on is each buttion has a <h2> header and I need to put a Icon before the header?

so in the CSS i have under .firstclass

{
  margin-top:30px;
  margin-bottom:30px;
}

how do I add the Icon:

this maybe

{
  margin-top:30px;
  margin-bottom:30px;
}

h2:before {

}

or 

.firstclass h2:before

Posted

this is my button:

<a class="btn btn-lg btn-success" href="#"><h3>Your Orders</h3><br>Track, return, cancel and order, download invoice or buy again</a>

the html widget has the class name of .firstclass

  • 4 months later...
Posted

Hi,

probably just a typo but the text is in a H3 not a H2,  also if it was possibly I would just put a unique class on the H2/3 and set the before on that.  

Thanks

Steve

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...