Jump to content

Editing .tpl CSS?


Recommended Posts

I want to make some changes to the appearance of one of my .tpl files - the sub catagories specifically. The first image is how my site looks currently, and the second is how I would like it to look. I just adjusted the width of the div with the container class to expand it out to accomodate five images in one row through the inspector in Firefox. However I am not sure how to go about changing this in the .tpl file. I will also need to adjust the breakpoint for the responsive aspect. Could someone help me out with this?

post-1096567-0-06458900-1447037388_thumb.png

post-1096567-0-87341900-1447037395_thumb.png

Link to comment
Share on other sites

You should be able to do it all with CSS files by adjust widths of various division containers. Maybe this will help you.

 

You could set the .container at width:100% rather than a set px width; and it will adjust. You can also create a duplicate CSS rule prefixed with the @media declaration to adjust it for various sized displays. There are several ways to do what you like. By using max-width (allows room for various other factors and is responsive), min-width (also allows room for various other factors) , width(not as flexible or responsive), and using percentage (more responsive) or px(not responsive).

 

#columns { max-width: 1170px;} or #columns { max-width: 100%;}

.container  {max-width: 1170px;}

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