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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


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.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

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.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

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 60 guests