Post by brasseurs » Tue Jan 20, 2015 2:21 am

Hi Dear comunity!

I have recently install this extension but I didn't receive any answer from the developer...

This is the result: https://www.brasseursartisans.com/index ... on/contact

And I would like to make the background of extension white like the box with the contact informations.

Can you help me?

Thanks!

P.S. I think the contact form doesn't working since I have installed this extension.But I'm receiving all notification about new customer and new order...
Last edited by brasseurs on Mon Jan 26, 2015 8:06 pm, edited 1 time in total.

Newbie

Posts

Joined
Tue Jan 20, 2015 2:15 am

Post by MackieeE » Tue Jan 20, 2015 9:28 pm

As for the Opening hours box.. that seems more like an CSS Issue to me?

Add a class to the box-content the opening hours are contained within, and name it, .opening-hours:

Code: Select all

.opening-hours {
   overflow: auto;
   padding: 5px 20px 19px 18px;
   margin-bottom: 10px;
   background-color: #fff;
   border: 1px solid #DBDBDB;
   border-radius: 5px;
   position: relative;
   top: 7px;
}
Which should produce a box like:

Image

Newbie

Posts

Joined
Thu Aug 22, 2013 9:38 pm

Post by brasseurs » Wed Jan 21, 2015 2:51 am

Hi MackieeE!

Thanks for your fast answer!

The only file for the Open Hours 2.0 is opening_hours.tpl

But I don't really know how make the change, I have tried to add the class but no changes.

This is the code:

Code: Select all

<div class="box">
  <div class="box-heading"><?php echo $heading_title; ?></div>
  <div class="box-content">
	<table cellspacing-right="4" width="100%">
		<tbody >  
		
		<?php if($show_notes == 1) : { ?> 
		<tr> 
			<td align="center" colspan="2"><?php echo $notes; ?></td>
		</tr>
		<?php } endif; ?>

		<?php
		foreach( $day_times as $key => $value){ ?>
			<tr>
			<td valign="top" <?php echo $highlight_today && $key == $today ? 'style="' .$highlight_style. '"' :  ''; ?>><?php echo $key; ?></td>
			<td valign="top" <?php echo $highlight_today && $key == $today ? 'style="' .$highlight_style. '"' :  ''; ?>><?php echo $value; ?></td>
			</tr>
		<?php } ?>

		<?php if($show_notes == 2) : { ?> 
			<tr> 
				<td align="center" colspan="2"><br /><?php echo $notes; ?></td>
			</tr>
		<?php } endif; ?>

		</tbody>
	</table>
  </div>
</div>


Newbie

Posts

Joined
Tue Jan 20, 2015 2:15 am

Post by brasseurs » Mon Jan 26, 2015 8:09 am

There is one person who can help me?

Thanks

Newbie

Posts

Joined
Tue Jan 20, 2015 2:15 am

Post by fido-x » Mon Jan 26, 2015 1:23 pm

Add the above-provided class to your stylesheet. Then, in your template file change:

Code: Select all

<div class="box-content">
to:

Code: Select all

<div class="box-content opening-hours">
Something to keep in mind for future posts - this is a support area for OpenCart version 2 and you are using OpenCart 1.5.x. Please post any further issues in the correct forum area. You might even get a quicker answer.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by brasseurs » Mon Jan 26, 2015 8:06 pm

Hi Fido-x!

Thanks you a lot (again) for your help!

The code work perfectly!

Very great help!


Thank you!

Brasseurs

Newbie

Posts

Joined
Tue Jan 20, 2015 2:15 am
Who is online

Users browsing this forum: No registered users and 6 guests