Override inline style submit button

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Jul 02, 2014 10:37 pm
Reply with quote
Report this post
Hi,

Can someone point me in the right direction how to override the (inline) style of the submit button on the "ask a question" and "recommend to a friend" dialog? I want to change the color of the button, but can't find how to change the background color using the override cascading style sheet.

Thanks in advance.

Regards,

Richard.
User avatar
Junior Boarder

GK User
Thu Jul 03, 2014 7:11 am
Reply with quote
Report this post
You mean Ask a question in VirtueMart product view? Probably you need to use !important rules to overwrite inline style and please make sure that override.css is already loaded.
User avatar
Platinum Boarder

GK User
Thu Jul 03, 2014 7:47 am
Reply with quote
Report this post
bkrztuk wrote:You mean Ask a question in VirtueMart product view? Probably you need to use !important rules to overwrite inline style and please make sure that override.css is already loaded.


Yes, I mean the "ask a question" on the Virtuemart product details page. The only thing I don't know is which class I have to use in the override.css. The style sheet is used and works for other classes, but I'm not able to change the default orange color from the template. Anu suggestion which class I should use to change the background color of the button for "ask a question" and "recommend to a friend"?

Thanks.

Richard.
User avatar
Junior Boarder

GK User
Fri Jul 04, 2014 1:27 pm
Reply with quote
Report this post
You can't style content inside an iframe via override.css because this load only defsult VM css files. Please try to add your styles to vmframe.css file they should affect on this pop up window.
User avatar
Platinum Boarder


cron