Advertisement:

Author Topic: Compact look for Custom Fields [Solved]  (Read 1559 times)

sellyourequine

  • Newbie
  • *
  • Posts: 16
Compact look for Custom Fields [Solved]
« on: August 12, 2015, 11:51:21 pm »
I wish to change the custom fields so they are not a checkbox on each new line but all jammed together, having issues finding the correct code or place where I can change this. Any help would be appreciated!
« Last Edit: October 18, 2015, 06:57:33 pm by sellyourequine »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Osclasswizards
« Reply #1 on: August 13, 2015, 12:29:04 am »
Hi,

osclasswizards/css/main.css

1.- Replace:

Code: [Select]
#item-content .meta {font-weight: 400;
}

with

Code: [Select]
#item-content .meta {font-weight: 400;
    float: left;
    padding-right: 10px;
}

2.- A few lines below, replace:

Code: [Select]
#item-content .meta {font-weight: 400;
}

with


Code: [Select]
.contact_button {margin: 20px 0 0;
    clear: both;
}

Regards


sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards
« Reply #2 on: August 14, 2015, 09:08:51 pm »
Well it didn't do anything, do appreciate the reply though!

sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards
« Reply #3 on: August 14, 2015, 09:20:36 pm »
Nevermind! It did exactly as you said it would. I needed to do that on that page I was talking about posting the item, but this works too! It will help me find the css for the posting page. Thank you very much!

sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards
« Reply #4 on: August 14, 2015, 10:25:33 pm »
Okay well unfortunately I am still having issues trying to figure out how to format the check boxes and radio buttons in the post item page. Apologies, do you suppose I can pick your brain some more? It would be greatly appreciated. I am familiar with several shopping carts but OSclass just seems to be a whole 'nother bird.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Osclasswizards
« Reply #5 on: August 14, 2015, 10:33:45 pm »
That seems to be an issue with this theme, better ask in its official thread:

http://forums.osclass.org/themes/osclasswizards-free-responsive-bootstrap-theme/

Regards

sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards
« Reply #6 on: October 14, 2015, 01:56:58 am »
Okay, how about in the bender theme then? meta and meta input.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Osclasswizards
« Reply #7 on: October 14, 2015, 01:59:13 pm »
Hi,

This should achieve the same "compact" look on Bender. But take into account that on posting/edit you'll likely need to work on your own to get a better look (combination of inputs, selects, radio and checkboxes might be tricky there):

Put this at the bottom of bender/css/main.css:

Code: [Select]
#item-content .meta {
    float: left;
    padding-right: 10px;
}

#plugin-hook .meta {
    clear: none;
    margin-bottom: 10px;
    float: left;
}

@media only screen and (max-width: 740px) {
    .contact_button {
        margin: 20px 0 0;
        padding-top: 10px;
        clear: both;
    }
}

Regards

sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards
« Reply #8 on: October 14, 2015, 06:03:56 pm »
I really appreciate your reply. I forgot to mention I am using 3.5.7 and within main.css there is no item-content .meta or plugin-hook within main.css. Thank you for your time.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Osclasswizards
« Reply #9 on: October 14, 2015, 06:17:24 pm »
Yes, that's why you need to add that at the bottom of main.css, no modification to existent rules, just an extension.

Regards

sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards
« Reply #10 on: October 14, 2015, 08:16:21 pm »
oh, duh. apologies.

sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards
« Reply #11 on: October 14, 2015, 08:19:10 pm »
Works perfect, thanks for the info!

sellyourequine

  • Newbie
  • *
  • Posts: 16
Re: Osclasswizards Class field [Solved]
« Reply #12 on: October 14, 2015, 08:29:27 pm »
Understanding this a little better now. After all of that the info box was getting dropped in line with the check boxes so I added this and it cleared right up.

#useful_info {
clear:both;
}

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Osclasswizards Class field [Solved]
« Reply #13 on: October 14, 2015, 09:02:49 pm »
You're welcome. :) Would you mind changing the title of the thread to something more descriptive such as "Compact look for Custom Fields [Solved]", thanks.