Post by GraemeH » Fri Jan 25, 2019 5:52 pm

Hi,

I have an extension in use (no longer available) that changes the line of an order on the sales order list depending on the current order status, but there are making the [View and [Edit] links hard to see, so I want to change the font colour of them. I have looked through the controller/sale/order, view/template/sale/orderlist and template/stylesheet files and can't see where to change this.

Does anyone know how I can change this. Any help appreciated.

New member

Posts

Joined
Fri Apr 20, 2012 4:56 pm

Post by straightlight » Fri Jan 25, 2019 7:19 pm

Contact the extension developer to resolved the issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by GraemeH » Fri Jan 25, 2019 8:25 pm

Hi,

Thanks, I have tried with no response, although I'm not sure it really an issue with the extension as its working as it should. I was just hoping there may be a way to change the default colour of the text through the opencart files.

New member

Posts

Joined
Fri Apr 20, 2012 4:56 pm

Post by xxvirusxx » Sat Jan 26, 2019 5:52 pm

Post a screenshot.

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - RO

Post by GraemeH » Thu Jan 31, 2019 11:43 pm

Apologies for the delay (have been away)

Image link:

www.fixingsmegastore.co.uk/list.jpg

It's the View / Edit links on the far right I'm looking to change.

New member

Posts

Joined
Fri Apr 20, 2012 4:56 pm

Post by xxvirusxx » Thu Jan 31, 2019 11:47 pm

That module should have a css file.

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - RO

Post by GraemeH » Fri Feb 01, 2019 7:41 pm

It's a single xml file. The only mention of css is as below.

Code: Select all

<file name="admin/view/template/sale/order_list.tpl">
				<operation>
                        <search position="replace" offset="1"><![CDATA[
							<?php foreach ($orders as $order) { ?>
                        ]]></search>
                        <add><![CDATA[
							<style type="text/css">.list tbody td{background:none !important;color:inherit !important;}</style>
							<?php foreach ($orders as $order) { ?>
							<tr style="background:<?php echo $order['background']; ?>; color:<?php echo $order['foreground']; ?>;">
                        ]]></add>
                </operation>
        </file>

New member

Posts

Joined
Fri Apr 20, 2012 4:56 pm

Post by GraemeH » Fri Feb 01, 2019 8:00 pm

Ignore above - have found file.

New member

Posts

Joined
Fri Apr 20, 2012 4:56 pm
Who is online

Users browsing this forum: No registered users and 12 guests