Jump to content

[SOLVED] How to left-align this sentence....


Recommended Posts

to the span add styles:

width: 105px;
display: inline-block;

 

add it to the:

#availability_statut #availability_value {
background-color: green;
color: #ffffff;
text-shadow: none;
padding: 0 10px;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
display: inline;
width: 105px;
display: inline-block;
}

in product.css file located in your theme css dir

Link to comment
Share on other sites

to the span add styles:

width: 105px;
display: inline-block;

 

add it to the:

#availability_statut #availability_value {
background-color: green;
color: #ffffff;
text-shadow: none;
padding: 0 10px;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
display: inline;
width: 105px;
display: inline-block;
}

in product.css file located in your theme css dir

 

Thanks vekia! It works! But how do I make the Availability line to be on the same level as first sentence of the block, and not at the bottom?

Link to comment
Share on other sites

you have to add it in the same styles as before:

#availability_statut #availability_value {
background-color: green;
color: #ffffff;
text-shadow: none;
padding: 0 10px;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
display: inline;
width: 105px;
display: inline-block;
float:right;
}

 

i suppose that you solved it, right? :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...