Jump to content

language selection on some pages causing problems


arjanvr

Recommended Posts

I am building a few pages but on these ones it looks correct..

 

http://clients.hostingdreams.nl/whmcs/sharedhosting.php

http://clients.hostingdreams.nl/whmcs/clientportal.php

 

but on these later added onces there is a language selection on the right messing up the design.. been going trough all kinds of pages but I cannot figure out how to remove it.. does anyone have any experience with this and able to tell me how to fix this

 

http://clients.hostingdreams.nl/whmcs/zakelijkhosting.php

http://clients.hostingdreams.nl/whmcs/resellerhosting.php

 

Thanks!

 

ps. Pages are far from done and should not be tested to order :-P

Link to comment
Share on other sites

It took care of the language selection box but apearently that was not the reason why the menu on the right hand side is on the bottom on those pages.. I assume any of you cannot tell me what file to look in for that without actually seeing the source files?

 

When I look at source in firefox it must have something to do with..

 

Good menu position

<div style="position:absolute;top:0px;right:0px;padding:5px;background-color:#000066;font-family:Tahoma;font-size:11px;color:#ffffff" class="adminreturndiv">Logged in as Administrator | <a href="admin/" style="color:#6699ff">Return to Admin Area</a></div>

 

 

 

</div>

<div class="bodyRight">

<div class="siderBox01Con">

<div class="siderBox01Top">Client Menu</div>

<div class="siderBox01Content">

<ul class="ulStyle03">

 

Bad menu position

 

<div style="position:absolute;top:0px;right:0px;padding:5px;background-color:#000066;font-family:Tahoma;font-size:11px;color:#ffffff" class="adminreturndiv">Logged in as Administrator | <a href="admin/" style="color:#6699ff">Return to Admin Area</a></div>

 

 

 

</div>

</div>

 

<div class="clr"></div>

</div>

<div class="bodyRight">

<div class="siderBox01Con">

<div class="siderBox01Top">Client Menu</div>

<div class="siderBox01Content">

<ul class="ulStyle03">

 

Perhaps this will enable someone to tell me how to find that piece of code.

Edited by arjanvr
Link to comment
Share on other sites

I had a look at the zakelijkhosting.php page in Google Chrome (as it allows you to delete or edit the source code and you can then see how the changes affect the site live), and removing the line below seems to align the right hand side correctly.

 

<div class="clr"></div>

 

it's the same place as the last line you have in bold above, and removing the same line in the resellerhosting.php page works there too.

 

as to which file(s) to edit, I can't tell you for certain as I don't have that template - but they should be the .tpl files in your template folder and i'm guessing will likely be called "resellerhosting.tpl" and "zakelijkhosting.tpl".

Edited by brian!
Link to comment
Share on other sites

unfortunately I had already checked those files by copying the content of the page that does work into that page and it still messes up. I cannot be the .php with the same names as those are also copies.. guess I have to do some looking around.. Should something pop to mind, it would be appriciated.

 

Thanks for the google chrome tip

Link to comment
Share on other sites

have you tried clearing your browser cache, or at least doing a hard refresh (ctrl + f5) - the changes may have worked, but perhaps you are still seeing the old page?

 

also, it may be worth deleting the contents of the template cache directory (usually called templates_c).

Link to comment
Share on other sites

have you uploaded the updated files to the server? i'm still seeing the "<div class="clr"></div>" code on the non-working page.

 

looking at it again, try getting rid of everything that you put in bold above.

 

failing that, get hold of winmerge.org and compare the working and non-working files.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated