Jump to content

< Solved > Changing Position of Add to Cart & View Button


Vilas

Recommended Posts

Edit global.css and change the following: (in my developer tool it was line 1016)

 

change this

 

#center_column .products_block a.button, #center_column .products_block a.exclusive, #center_column .products_block span.exclusive {

float: right;

padding: 0 0 0 12px;

}

 

 

to this

 

#center_column .products_block a.button, #center_column .products_block a.exclusive, #center_column .products_block span.exclusive {

float: right;

padding: 0px 0px 0px 0px;

margin:0px 5px 5px 0px;

}

Link to comment
Share on other sites

Actually it does work you will need to turn force compile to on and cache off under preferences/ performance and you may need to clear your browsers cache and the cache & compile files under tools/smarty using your FTP. (don't delete any index.php files from smarty cache & compile folders)

 

You can also try hitting F5 to refresh the page if you still don't see the changes clear your caches.

 

In the first post I made I just moved the buttons apart (1st pic) then I notice you want to move to a new line so I re-did the code. (2nd pic).

 

 

 

 

#center_column .products_block a.button, #center_column .products_block a.exclusive, #center_column .products_block span.exclusive {

float: right;

padding: 0px 0px 0px 0px;

margin:45px 5px -40px 0px;

}

 

Link to comment
Share on other sites

Dear Friend,

 

One more member suggested solution on my query. Here is that

 

There are few css styles to change in global.css.

Try this, around line 1007 change code to this

 

#center_column .products_block span.price {

display: block;

font-family: BebasNeueRegular;

font-size: 17px;

font-weight: normal;

padding: 5px 0 0 11px;

width: 92%;

}

 

 

then around line 1017 change code to

 

#center_column .products_block a.button, #center_column .products_block a.exclusive, #center_column .products_block span.exclusive {

padding: 0px 0px 0px 0px;

margin: 10px auto;

}

 

 

And that should be it. You can adjust padding and margin values if you want.

 

That also worked.

 

Many thanks to you who paid attention really you are absolutely nice man :)

 

Best regards,

Vilas

Edited by Vilas (see edit history)
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...