Solved

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

Posted on 2011-09-04
22
494 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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
 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

726 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