Post by Cleo » Sat Jun 06, 2015 3:02 pm

Hello

Someone made my theme responsive and it seems to be ok except for one little thing on the French version the text in the Add to cart button is a little longer then the English one so it goes under instead of staying on the right as you can see in the picture.

Image

I tried to change the width in the original stylesheet but it didn't work so I believe it need to be change in the style.css for the responsiveness but I have no idea what I need to change and I don't want to mess the result on mobile view so if anyone know what I need to change and would be kind enough to help me I would really appreciate it.

This is the part of the original stylesheet in which I tried to change the width of the table with no luck:

Code: Select all

#table-produto {
    width: 100%;
	border-bottom: 1px solid #9F7F4C;	
	margin-bottom: 10px;
}
#table-produto_left{
    width: 200px;
	padding-left: 15px;
}
#table-produto_right {
    width: 345px;
}
And this is the part of the style.css where I believe I need to change something but I have no idea what/where:

Code: Select all

#table-produto { overflow: auto; }
#table-produto > div { float: left; }
#currency b.hm { font-weight: normal;}
#header { z-index: 99999;}
.slicknav_btn { background-color: #960000 !important; }
.links .slicknav_menu { text-align: center;}
.slicknav_nav li div { margin-left: 20px; color: #eee; }
.slicknav_nav li div ul div { display: none;}
#top_inner-inner {padding-top: 8px; }
#base { min-width: 600px; }
.scroll-table {overflow: auto; clear: both;}
.buttons.show-mob { display: none; }
#content.voucher .content { border: none;}
@media screen and (max-width: 1980px) {
	#table-produto_right { width: 362px;} 
	} 
@media screen and (max-width: 1300px) {
	#table-produto_right { width: 345px;}
}
@media screen and (max-width: 1060px) {
	.horizontalcssmenu {
 		 width: 595px;
 	}
 	#header .links { width: 595px;}
 	.menu-links {width: 595px;}
 	#menu .slicknav_menu { display: block; }
 	#menu > ul {display: none;}
 	img {max-width: 100%; height: auto;}
 	#base_inner-inner { display: none; }
 	#table-produto_right { width: 162px;}
 	.htabs { height: auto;}
 	.htabs a { float: none; display: inline-block !important;}
 	input.large-field, select.large-field { width: 200px; }
}
@media screen and (max-width: 917px) {
	#header #logo a img { 
		width: 285px;
		height: auto;
	}
	#header #logo {
		top: 70px;
	}
	#table-produto_right { width: auto; float: none;}
}
@media screen and (min-width: 768px) {
#column-left, #column-right { display: block !important; }
}
Tks
Cleo
Last edited by Cleo on Thu Jun 11, 2015 11:14 am, edited 2 times in total.

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by deepvision » Sun Jun 07, 2015 2:42 am

In the catalog/view/theme/Jewelry/stylesheet/tema.css
instead of

Code: Select all

input.button {
margin: 0;
border: 0;
height: 24px;
background: #FFF6EF;
border: 3px double #DCC678;
padding: 0px 12px 3px 12px;
}
try

Code: Select all

input.button {
margin: 0;
border: 0;
height: 24px;
background: #FFF6EF;
border: 3px double #DCC678;
padding: 0px 10px 3px 10px;
}

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Cleo » Sun Jun 07, 2015 10:44 am

Thank you very much deepvision, it worked!

Regards

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by Cleo » Thu Jun 11, 2015 11:19 am

Had to remove the Solved mention because after I made the change it worked but tonight I just discover that it is now the same as it was!!!

I have no idea why!

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by Cleo » Thu Jun 11, 2015 1:17 pm

This is so ridiculous, both site use the same template, same stylesheet, the only difference is the meta name in the header.

The only way I was able to fix it is by leaving only one word in the button!

I tried "Mon panier" instead of Ajout au panier which is shorter then "Add to cart" but it didn't work!

Mon panier
Add to cart

So I put only "Panier" which look a little weird but it's the only way I can have all the text on the same line!

???

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by deepvision » Thu Jun 11, 2015 3:12 pm

It is because it is back to

Code: Select all

padding: 0px 12px 3px 12px;
instead of

Code: Select all

padding: 0px 10px 3px 10px;
in the catalog/view/theme/Jewelry/stylesheet/tema.css

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Cleo » Thu Jun 11, 2015 6:39 pm

??? Funny because I just check and it is padding: 0px 10px 3px 10px;

And to make sure I uploaded the .css file and checked it and it is still padding: 0px 10px 3px 10px;

I will delete all the caches directory to see if it makes a difference.

Regards
Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by Cleo » Thu Jun 11, 2015 7:11 pm

Well unless I am not looking at the right place it is: padding: 0px 10px 3px 10px;

I deleted all the caches then tried to add Mon panier instead of Panier and the button moved down!

I had enough problem since the modification so I think I will leave it like that, until I can afford to pay someone again to fix it!

Thank you for your help @deepvision

Regards

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by deepvision » Thu Jun 11, 2015 11:40 pm

It was definitely 0px 10px 3px 10px; when I last checked your site.
I tried to check again but now it gives me Forbidden error :)

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Cleo » Fri Jun 12, 2015 12:18 am

@deepvision

"Forbidden error" on the site? or a product page?

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by deepvision » Fri Jun 12, 2015 12:21 am

On the entire site

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Cleo » Fri Jun 12, 2015 12:28 am

Was it a red page?

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Cleo » Fri Jun 12, 2015 12:33 am

I have no idea what that page is! Did you go to http://www.lesbricollesdecleo.ca

It still doing it?

Cleo
Last edited by Cleo on Fri Jun 12, 2015 12:41 am, edited 1 time in total.

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by deepvision » Fri Jun 12, 2015 12:41 am

Yes. Here is more detailed screen shot
http://screencast.com/t/WkS2mM74Oe0l
Looks like IP or IP range block.

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Cleo » Fri Jun 12, 2015 12:46 am

Hum! I don't have IP range blocked, I do have a very long list of IP blocked, but it's funny that you were able to access before!

If you send me your IP by pm I will check to see if it is block but usually the one that are blocked are seeing a Red page from Crawlprotect!

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by Cleo » Fri Jun 12, 2015 8:14 am

I just unblocked one IP which I believe is yours.

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by deepvision » Fri Jun 12, 2015 3:00 pm

Yes, the access is working now. And I can see that it is back to 0px 10px 3px 10px and working fine on the product page.

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Cleo » Fri Jun 12, 2015 3:22 pm

Yes you were on the block list! :)

Well it is fix and not! I just change the wording because even for the "Out of stock" I had the same problem. So I only put small words and will leave it like this.

But I found something else that I have no idea why it is happening!

Image

I have the same template for both site, one for .com and one for .ca the only difference is the text in the header.tpl the rest of the files are the same.

So I have no idea why they look different! Very weird.

Cleo

Opencart v1.5.4.1 fr/en
Theme: Custom
vqmod-2.6.0
PHP: 7.3 (ea-php73)


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by deepvision » Fri Jun 12, 2015 4:29 pm

It shows the white space for me on any site until I accept cookies.
Now that I have accepted cookies both sites are without white space in the footer.

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am
Who is online

Users browsing this forum: No registered users and 8 guests