Post by Agathon » Thu Aug 20, 2015 2:34 am

Hi to all
I am using Opencart Version 1.5.6.4 and i have installed a custom template.
My website link is http://all-sports.gr/
and i have a little issue on register page here is link
http://all-sports.gr/index.php?route=account/register

I tried to edit css on this page for element with

Code: Select all

#id"tax-id-display" 
in several ways with no result.
As you can see this Section "tax-id" on Greek language "Α.Φ.Μ. / Δ.Ο.Υ.:" filed where you can type text is not displaying correctly in compare with the other elements, is on the the right of the page.
I attached an image , I would appreciate any help.

Thanks

Attachments

register.jpg

register.jpg (154.78 KiB) Viewed 2325 times

Last edited by Agathon on Fri Aug 05, 2016 11:52 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Thu Jan 23, 2014 6:45 pm

Post by Qphoria » Thu Aug 20, 2015 3:21 am

Why are you touching css at all. Why not just follow the same class structure as the other textbox elements?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Agathon » Fri Aug 21, 2015 2:09 am

Hi again
Can u give me a little help with this ,how to do that as i can see all elements inherit from table.form

Code: Select all

<table class="form">
<tbody>
<tr>
<tr>
<tr style="display: none;">
<tr id="company-id-text">
<tr id="company-id-display">
[b]<tr id="tax-id-display">[/b]
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
</tbody>
</table>

User avatar
New member

Posts

Joined
Thu Jan 23, 2014 6:45 pm

Post by Agathon » Sat Sep 05, 2015 2:39 am

Can anyone help plz ?

User avatar
New member

Posts

Joined
Thu Jan 23, 2014 6:45 pm

Post by agatha65 » Sat Sep 05, 2015 8:03 am

The file you need to change is this
catalog/view/theme/bt_sneaker/template/account/register.tpl if exists else this
catalog/view/theme/default/template/account/register.tpl
Replace this html code

Code: Select all

       <tr id="tax-id-display">
          <td><span id="tax-id-required" class="required" style="display: none;">*</span> Α.Φ.Μ. / Δ.Ο.Υ.:</td>
          <td><input class="form-control" type="text" name="tax_id" value="">
            </td>
        </tr>
With this

Code: Select all

        <tr id="tax-id-display">
          <td><span id="tax-id-required" class="required" style="display: none;">*</span> Α.Φ.Μ. / Δ.Ο.Υ.:</td>
       </tr>
      <tr>
          <td><input class="form-control" type="text" name="tax_id" value="">
            </td>
        </tr>
In the file the code is not like my example. You have to find the right place and apply the example html structure.

Suppliers Module - XML, CSV, XLS Product Feed Import and Update
Rich Snippets | Facebook Open Graph Meta Tags | WebP Images
Image


User avatar
Active Member

Posts

Joined
Fri Mar 16, 2012 10:18 am
Location - Canada, QC

Post by Agathon » Fri Aug 05, 2016 11:49 pm

Hi agatha65

I apologize for delay, i just started to rebuilt this website again so i 've seen your answer and this two lines of code solved my css problem.Thanks a lot.
agatha65 wrote:The file you need to change is this
catalog/view/theme/bt_sneaker/template/account/register.tpl if exists else this
catalog/view/theme/default/template/account/register.tpl
Replace this html code

Code: Select all

       <tr id="tax-id-display">
          <td><span id="tax-id-required" class="required" style="display: none;">*</span> Α.Φ.Μ. / Δ.Ο.Υ.:</td>
          <td><input class="form-control" type="text" name="tax_id" value="">
            </td>
        </tr>
With this

Code: Select all

        <tr id="tax-id-display">
          <td><span id="tax-id-required" class="required" style="display: none;">*</span> Α.Φ.Μ. / Δ.Ο.Υ.:</td>
       </tr>
      <tr>
          <td><input class="form-control" type="text" name="tax_id" value="">
            </td>
        </tr>
In the file the code is not like my example. You have to find the right place and apply the example html structure.

User avatar
New member

Posts

Joined
Thu Jan 23, 2014 6:45 pm
Who is online

Users browsing this forum: No registered users and 113 guests