Jump to content

Banner block module, need a fix please.


Recommended Posts

If I understand you well,

 

file :  /themes/panda/css/global.css, line 271:

 

.img-responsive {

    display: block;

    max-width: 100%;

    height: auto;

    margin-left: auto;            <-- add these two lines

    margin-right: auto;

}
 
 
result:
post-455771-0-67731100-1432740893_thumb.png
 
 
Hope I understood well. If not, please show a screenshot/sketch of what you want,
 
pascal
 
 
P.S. On smaller screens, this banner is totally unusable, as you cannot read the text on it.
Maybe just remove it when the window/screen size gets below a certain point. Just an idea...
  • Like 1
Link to comment
Share on other sites

 

If I understand you well,

 

file :  /themes/panda/css/global.css, line 271:

 

.img-responsive {

    display: block;

    max-width: 100%;

    height: auto;

    margin-left: auto;            <-- add these two lines

    margin-right: auto;

}
 
 
result:
 
 
Hope I understood well. If not, please show a screenshot/sketch of what you want,
 
pascal
 
 
P.S. On smaller screens, this banner is totally unusable, as you cannot read the text on it.
Maybe just remove it when the window/screen size gets below a certain point. Just an idea...

 

I did this, but it didn't work. Please advise? Thank you very much!!

Link to comment
Share on other sites

Hi Pure,

 

I see that you put the two lines just OUTSIDE the closing bracket '}' :

 

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto; }                  <-- not here...
  margin-left: auto;
   margin-right: auto;
 
 
the closing bracket should be at the end, AFTER the two added lines:
 
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
   margin-right: auto;
}           <-- but here

 

 

Hope that helps,

pascal

Link to comment
Share on other sites

Hi Pure,

 

I see that you put the two lines just OUTSIDE the closing bracket '}' :

 

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto; }                  <-- not here...
  margin-left: auto;
   margin-right: auto;
 
 
the closing bracket should be at the end, AFTER the two added lines:
 
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
   margin-right: auto;
}           <-- but here

 

 

Hope that helps,

pascal

You are a star Pascal, cheers buddy! I will mark as solved now.

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