8 years ago
4
Topic

Hello,

I very often use the template seb_blog on my sites, I find very convenient with the setting of the number of items per column.

By cons there is a problem with responsive to overrider the number of elements in columns, depending on media.

Eg on large screens I put 3 columns, so I listed parameters "3 columns" : but on tablets portrait I want 2 columns -> in my custom.css, I need overrider the CSS of the div that forces the line break elements, all three elements, namely:


<div class="cck-clear"> </div>

.cck-clear { clear: both; } 

by :

.class-custom-my-content .cck-clear {
clear: none;
}



But has no effect here !!


If anyone can help me please :)

thank you in advance,

Agathe.

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
1
Level 1

HI,

to change this markup you would need to duplicate template and change its main file.Seb blog is not ready for responsive layouts.

127 Posts
Cappu
6 years ago
0
Level 2

Hi Klas,

please, could you shortly explain on how to duplicate the seb_blog template so we can overwrite its config.php and index.php - and it won't get overwritten by an Seblod upgrade.

Thank you!

4229 Posts
Kadministrator
6 years ago
1
Level 1

Copy and rename folder and accordingly change template name in the xml file, also copy renamed language files. Then you can run discover to install template and also add it to seblod templates.

127 Posts
Cappu
6 years ago
0
Level 2

Awesome! It works. Thanks :-)

Get a VIP membership