Jump to content

Settings banner


Recommended Posts

Hello guys, I have a little problem, I have tried to insert a banner to 1170x200 in the Hook "Home" by setting the corresponding measures, but the banner remains small as screeshot Annex time I went: yourdomain / modules / themeconfigurator / css / hooks.css row 10 and I set 100% to 1170% and the banner in this way has adjusted to the right size, but it certainly is not the correct way to do this, how can I properly set this setting? 

 

  # htmlcontent_home ul li img {

       max-width: 100%; 

       height: auto; } 

       @ media (max-width: 1170px) {

         # htmlcontent_home ul li img {

           min-width: 100%; [spam-filter]

 

Thank you so much for those I can to help me

post-340867-0-71128200-1399360041_thumb.png

post-340867-0-71935300-1399360055_thumb.png

Link to comment
Share on other sites

Done I deleted the class con-xs-4 and I replaced as with the 12 in this way, is that correct?? 

 

. col-xs-1 {

   width: 8.33333%; } 

 

. col-xs-2 {

   width: 16.66667%; } 

 

. col-xs-3 {

   width: 25%; } 

 

. {col-xs-12 

   width: 100%; } 

 

. {col-xs-5 

   width: 41.66667%; } 

 

. {col-xs-6 

   width: 50%; } 

 

. {col-xs-7 

   width: 58.33333%; } 

 

. {col-xs-8 

   width: 66.66667%; } 

 

. {col-xs-9 

   width: 75%; } 

 

. {col-xs-10 

   width: 83.33333%; } 

 

. {col-xs-11 

   width: 91.66667%; }

Link to comment
Share on other sites

I noticed that at the top: 

. col-xs-1, 

. col-xs-2, 

. col-xs-3, 

. col-xs-4, 

. col-xs-5, 

. col-xs-6, 

. col-xs-7 

. col-xs-8, 

. col-xs-9, 

. col-xs-10, 

. {col-xs-11 

   float: left; } 

 

there is no more. col-xs-12, 

I have something wrong? 

 

thank you very much

Link to comment
Share on other sites

Vekia Hello, I have uploaded the image from the BO with the measurements of 1170x200 setting and related measures, then I went to: 

yourdomain / modules / themeconfigurator / css / hooks.css 

and I configured the following code: 

 

  # htmlcontent_home li.htmlcontent ul-item-5 {

       width: 66.6667%; } 

       @ media (max-width: 479px) {

         # htmlcontent_home li.htmlcontent ul-item-5 {

           width: 100%; [spam-filter] 

I then edited the file that you told me, I missed something?

Thank you very much

Link to comment
Share on other sites

Hi! vekia, I did before the change to the file item in question, then I configured the relevant file. sotituendolo with the-xs-4 with 12, as I have advised you, everything here. It seems to me that it works properly, although I think the code of con-xs I see a little messy, I'm not a connoisseur. 

Thank you so much, you're great

Link to comment
Share on other sites

You need to open file yourdomain/modules/themeconfigurator/views/templates/hook/hook.tpl and change this code:

<li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-4">

to this:

<li class="htmlcontent-item-{$smarty.foreach.items.iteration|escape:'htmlall':'UTF-8'} col-xs-12">

But remember this will work as long as you use only one banner as you do now.

Link to comment
Share on other sites

×
×
  • Create New...