Solved

Joomla - Virtuemart - fly page the border is not at the right place

Posted on 2011-09-04
22
491 Views
Last Modified: 2012-08-13
Hello,

I attached a picture to see the problem. At the middle, every article, etc. is surrounded with a gray border. Everywhere is good except on the flypage of the product (here it is much higher, it gets under the menu).

 problem

The link:
http://www.egyediszoftverek.hu/ideig/joomla_ideig/index.php?page=shop.product_details&flypage=flypage_sts2.tpl&product_id=890&category_id=1&option=com_virtuemart&Itemid=60 

Thank you
0
Comment
Question by:starhu
  • 12
  • 10
22 Comments
 
LVL 13

Expert Comment

by:joomla_php
ID: 36480509
not doubting you but I don't see it.
0
 

Author Comment

by:starhu
ID: 36480541
Please click on the link. Can you see the thin gray vertical line on either side? The same kind of line is on the top crossing through the menus (this is the top of the rectangle). I can see it quite well. That line should be lower.

I embedded another picture (between the green arrows): Please magnify it to see it.

 problem
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 36480809
div#AWMEL0.AWMSTCBG3
{
margin-top:5px;
}

might need to play with that 5px a bit.
0
 

Author Comment

by:starhu
ID: 36480912
Thank you for the answer.

div#AWMEL0.AWMSTCBG3 is not good because this is for AllWebMenu (the menu) I use.
If I move it, the menu itself will move too.

The menu should remain where it is, only the box should get lower (this is the box in which the articles and everything else are put but somehow only with the product detail page it is resized)
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 36481257
I see that now. How about

div.art-content-layout-row div.art-post
0
 

Author Comment

by:starhu
ID: 36485470

If I put

div.art-content-layout-row div.art-post
{
 margin-top:9px;
}

then the top of the box of the flypage will be just at the same level of the top of the left box (as I wanted), but when I click on other pages (which were leveled previously) -> the middle box will be 9px lower :-(

So this is a global setting -> there should be something in the VirtueMart flypage that "spoils" this setting
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 36492047
Example of page on which this happens?
0
 

Author Comment

by:starhu
ID: 36492091
Ok, I set it back (I hope the customer won't see it)

form example : http://www.egyediszoftverek.hu/ideig/joomla_ideig/index.php?option=com_k2&view=item&layout=item&id=3&Itemid=18

But all are like this except the flypage.
0
 

Author Comment

by:starhu
ID: 36492098
So if I put
div.art-content-layout-row div.art-post
{
 margin-top:9px;
}

Then the fly page is good the others are bad, if I don't use this ,the fly page is bad and the others are good :-(
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 36492145
oh simple

div#vmMainPage div.art-content-layout-row div.art-post
{
 margin-top:9px;
}
0
 

Author Comment

by:starhu
ID: 36492226
Now it is not lined again and it doesn't matter if I put margin-top:9px; or margin-top:90px; it won't move in either direction :-(

http://www.egyediszoftverek.hu/ideig/joomla_ideig/index.php?page=shop.product_details&flypage=flypage_sts2.tpl&product_id=890&category_id=1&option=com_virtuemart&Itemid=60
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 13

Expert Comment

by:joomla_php
ID: 36492500
ok does this work?
div.art-postcontent div#vmMainPage {
padding-top:9px;
}
0
 

Author Comment

by:starhu
ID: 36493887
No it doesn't. But we can make this shorter: write me your email in private message and I will make you an administrator account so as you can directly change and experiment what you think. How about it?
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 36495969
I'm sorry but that'd take way too much setup - I've been using web developer add on for firefox, give it a try, it lets you edit the css on the fly.
0
 

Author Comment

by:starhu
ID: 36496184
I use FireBug, but my css knowledge is far from yours so my chance to solve it on my own  is small- that's why I wrote here.
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 36496365
the issue for me is that being admin would be an annoying way to do it. I'd want to download the site to my machine and directly edit the css so I could see the changes. At that point it's a lot of work and not the pretty quick hit at it I would normally take.

I'm really surprised that the last one didn't work. What did happen when you added that css?
0
 

Author Comment

by:starhu
ID: 36496486
"What did happen when you added that css?" Nothing changed.
0
 

Author Comment

by:starhu
ID: 36496546
Sorry something did change: the VM browse page box got higher (that is not good)
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 36496639
higher? that doesn't make sense. we're adding 9px.
0
 

Author Comment

by:starhu
ID: 36497222
Indeed it is strange but it was so.

This problem has been "alive" for days so I thought the fastest solution would be to hide the whole middle rectangle (no rectangle - no alignment).

I tried

div#art-post
{
 border: none;
}
but it didn't work.
Have you got an idea? Thank you
0
 
LVL 13

Accepted Solution

by:
joomla_php earned 500 total points
ID: 36497923
I don't think this is a css problem. The same css exists for both pages. I think the html is different. I did narrow down that the grey line is coming from template.css .art-post-tr, .art-post-tl, .art-post-br, .art-post-bl.

What I would do at this point -- and I'm sorry but this has gotten too big for me -- is this -
- do a view source on the offending page
- copy to an editor
- rewrite all src= and href= so that their arguments are fully qualified url's to the server js and css files
- eliminate html until you isolate the difference between this page and the one that works correctly

The problem is going to be in the virtuemart tmpl default.php somewhere, I think.
And it starts somewhere about art-post-body.
0
 

Author Closing Comment

by:starhu
ID: 36501410
Finally I hid the box
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mimic google as my ip 11 53
Whether to use true/false, yes/no or 0/1 11 49
Amazon Redshift 2 23
PHP: concatenate query 12 28
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now