Search code examples
htmlcssvolusion

Element Repositioning using only CSS(Volusion Details)


I'm attempting to rearrange elements on a Volusion store for my employer. The products page we currently have looks like This

I've been tasked with moving the details box (containing "Nothing says "I'm ready to learn!"), up and to the right, to align with the price box. The box is a table contained in a hierarchy of nested tables, at roughly the same "depth" in a different branch.

I don't have access to the HTML for the page, only a template html file that generates menus and footers along with the relevant CSS. Some JS exists on the site but since I lack experience with it, I'm hesitant to get into it.

Because of the table-and-div structure, and the fact that I cannot edit the HTML, I'm left with tweaking stylesheets and possibly some javascript. My issue is this: How, using only these tools, can I take an element in one container and reposition it relative to elements in another container? I've tried Position:Relative; left:some percentage; top:some negative percentage;

Which, for a single page, I can get to look quite good, but if I allow others to load the page it falls apart completely, due mostly to the fact that the container for the element I'm moving is calculated based on screen width, and the container for the destination is calculated with the width minus a constant value(the image for the product).

My employer is willing to accept that the arrangement won't be perfect, they know Volusion is the devil complex. But it's important to them that their products display all relevant information "above-the-fold". Obviously I've not found any sort of answers on this. I don't find all that many people who have to edit a webpage without access to the raw code, because that's stupid. Worse still, moving an element to align with a completely different container is just bad policy as I gather, but its what I'm being asked to accomplish.


Solution

  • The only way to do this on Volusion is with javascript. You do not have access to the HTML for the product page and given that it is built with tables there is no way to move the product description area up with CSS.

    You need to use javascript to detach and append the product description box below the product details area.