Jump to content

Block h4 repeating background image expanding with content


Recommended Posts

Hello,

 

I'm trying to add a background image to the div in which the categories etc are shown.

I.e. the divs with class block.

 

The idea is to have a fixed left image, expanding / repeating center image and a fixed right image.

When there is more content to show the block should grow by repeating the center image.

 

I'm using V1.5.0.15

 

How can I do this?

I don't think it can be done in the CSS only.

Do I need a module override for this?

 

Regards, Jeroen

Edited by Geronimo2012 (see edit history)
Link to comment
Share on other sites

Hi.

 

You do not need a module for this, just css.

 

You will need to use at least 2 extra HTML elements, e.g.-:

 

<div class="1">
<div class="2">
</div>
{*EXPANDING CONTENT*}
<div class="3">
</div>
</div>

 

Here .1 can have the center image that repeats, .2 and .3 have the fixed images

 

Regards.

 

Robin.

 

The CartExpert Team

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...