*

miba

  • **
  • 18 posts
wrong size Cutom filds
« on: May 30, 2016, 02:41:14 AM »
the custom Fild appears too small.

if 1 field, it is too small. when 2 fields it is too small.
when 3 or more fields, it is the right size.



http://miba.ch/oc-content/uploads/0/custom.jpg

The output fo the field is.

<tr>
   <td class='detail_label'><?php echo $label; ?></td>
   <td class='detail_label'><?php echo $value; ?></td>
</tr>


the css for the field is

#custom_attributes .detail_label {
width: 150px;
}

can you help?
The First Step to Realizing Your Dreams is Hard Work, but Work Hard Because You Want to, Not Because You Have to, and you will be successful

*

MB Themes

Re: wrong size Cutom filds
« Reply #1 on: May 30, 2016, 10:03:21 AM »
@miba
Width should be set to 50% or 100%, not 150px
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

miba

  • **
  • 18 posts
Re: wrong size Cutom filds
« Reply #2 on: May 30, 2016, 12:45:32 PM »
@frosticek

if I change to 50% it look like


http://miba.ch/oc-content/uploads/0/custom50.jpg

if I change to 100% it look like


http://miba.ch/oc-content/uploads/0/custom100.jpg
The First Step to Realizing Your Dreams is Hard Work, but Work Hard Because You Want to, Not Because You Have to, and you will be successful

*

miba

  • **
  • 18 posts
Re: wrong size Cutom filds
« Reply #3 on: May 30, 2016, 01:58:05 PM »
I could solve

The output fo the field is.

in the file "item_detail_fields.php"

I added this, in line 6   <table'detail_custom_fields'>
   
and Add this new entry to file "front_styles.css"

#custom_attributes .detail_custom_fields {
width: 100%;
}


Thanks for your help
« Last Edit: June 01, 2016, 01:12:16 PM by miba »
The First Step to Realizing Your Dreams is Hard Work, but Work Hard Because You Want to, Not Because You Have to, and you will be successful

*

MB Themes

Re: wrong size Cutom filds
« Reply #4 on: May 30, 2016, 06:35:06 PM »
@miba
I have checked custom fields and those works properly and are displayed properly as well, you can check:
http://zara.mb-themes.com/for-sale/electronics/canon-powershot-g7-x_i134

What is your URL and where I can see problem?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

himix

  • *
  • 3 posts
Re: wrong size Cutom filds
« Reply #5 on: May 31, 2016, 10:19:10 AM »
Hi,

i have a same problem...
But this solve from Miba my problem not solve :-(

#custom_attributes .detail_custom_fields {
   width: 100%;
}

#custom_attributes .detail_label {
width: 150px;
}


*

MB Themes

Re: wrong size Cutom filds
« Reply #6 on: May 31, 2016, 10:37:23 AM »
Guys if you do not give me URL I cannot check that...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

himix

  • *
  • 3 posts

*

MB Themes

Re: wrong size Cutom filds
« Reply #8 on: May 31, 2016, 01:23:23 PM »
@himix
Please add this code:
Code: [Select]
#plugin-details > #custom_attributes > table {margin:0 0 25px 0!important;float:left;width:100%;clear:both;}
to file:
oc-content/themes/zara/css/global.css
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

miba

  • **
  • 18 posts
Re: wrong size Cutom filds
« Reply #9 on: June 01, 2016, 03:27:31 AM »
@himix

in the file item_detail_fields.php

go to line 6

replacing <table> with <table class = 'detail_custom_fields'>


and create in css / front_styles.css

a new entry:

#custom_attributes .detail_custom_fields {
width: 100%;
}

Now it should work
The First Step to Realizing Your Dreams is Hard Work, but Work Hard Because You Want to, Not Because You Have to, and you will be successful

*

miba

  • **
  • 18 posts
Re: wrong size Cutom filds
« Reply #10 on: June 01, 2016, 04:01:10 AM »
@frosticek

sorry I forgot to say that it is custom attributes I work with.

you also have a fix for a min max slider in, sidebar search?


http://miba.ch/oc-content/uploads/0/sidebar_search.jpg
« Last Edit: June 01, 2016, 12:51:38 PM by miba »
The First Step to Realizing Your Dreams is Hard Work, but Work Hard Because You Want to, Not Because You Have to, and you will be successful

*

MB Themes

Re: wrong size Cutom filds
« Reply #11 on: June 01, 2016, 07:15:17 AM »
@miba
I have checked and everything looks good on my side.
What browser did you used?
What is URL?

I already told you that from image I cannot find anything.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

miba

  • **
  • 18 posts
Re: wrong size Cutom filds
« Reply #12 on: June 01, 2016, 12:50:26 PM »
I already written above, I have solve the problem with the size of Cutom filds! it was the plugin Custom Attributes.
I have the changes in the plugin also posted above.
////////////////////////////////////////////////// /////////////////////////////////////////

My last question is in relation to the sidebar search:

how can I in the search, change the fields to the slider?

or should I open a New Topic?
The First Step to Realizing Your Dreams is Hard Work, but Work Hard Because You Want to, Not Because You Have to, and you will be successful

*

MB Themes

Re: wrong size Cutom filds
« Reply #13 on: June 01, 2016, 01:30:08 PM »
@miba
Not sure what are you asking on.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

miba

  • **
  • 18 posts
Re: wrong size Cutom filds
« Reply #14 on: June 01, 2016, 02:42:37 PM »
OK I use the plugin "Custom atributes"
 
I have in that sitebar search

the field Define by search box minimum - maximum

the look like this



I want to change. it look like this



or this



///////////////////////
when I use the plugin "Real Estate Attributes" it work and show a slider like this

The First Step to Realizing Your Dreams is Hard Work, but Work Hard Because You Want to, Not Because You Have to, and you will be successful