1 minute reading time (282 words)

Editing Safely t3 Framework

Joomla Website Migration

I have migrated to version 3 many Joomla sites but this time I wanted to try a bootstrap framework with a blank template system. T3 came with just enough bells and whistles obviously by design.

Check them out via this t3 introductory video and the site I am now converting across here...



Some tips along the way so that you can edit safely your stuff.

Less - change your CSS via Less file manipulation...the Less files should be coming also from a custom theme you create so that it wont get wiped with any t3 updates....You will then need to compile the less files to get the css file made for you - a very common work flow that we all agree as front end devs works well.

Here is the path to the file where I am adding some basic css classes (My goal is to really just use the basic Bootstrap stuff as much as possible) - ROOT/templates/t3_bs3_blank/less/themes/cd/template.less

notice the t3_bs3_blank which is the template I chose to use bs = bootstrap - you can use a non bootstrap one that is ts_blank

notice the cd folder this is the name of my custom theme folder.

Some nice additions for mobile:
I found there to be the following margin that is part of the 'right hand gutter' on mobile portrait for example iphone6.
Here is the code I added to negate that. The first code is to stop really long page titles from forcing the gutter to appear - ie it breaks off the button if it is too long.
The second stops the margin breaking the design.

.btn-default{
display:block;
overflow:hidden;
}

.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse{
margin:0;
}

 

Thomas Cook Germany
Polyfills & why you might need them for web design

Related Posts

 

Comments 1

admin (website) on Tuesday, 06 January 2015 09:43

The T3 framework has impressed me for it seems to be very well made for the level of effort I can put into getting hobbyist sites up quickly and nicely - who has the time to make that masterpiece right ?

It has been the ideal solution to get my old non compatible Joomla 2.5 site to work in Joomla 3. So far I think its great and its almost done in an afternoons work. I took the extra time to make sure I edited stuff so that I was able to update the core template freely.

The T3 framework has impressed me for it seems to be very well made for the level of effort I can put into getting hobbyist sites up quickly and nicely - who has the time to make that masterpiece right ? It has been the ideal solution to get my old non compatible Joomla 2.5 site to work in Joomla 3. So far I think its great and its almost done in an afternoons work. I took the extra time to make sure I edited stuff so that I was able to update the core template freely.
Already Registered? Login Here
Guest
Friday, 29 March 2024

Captcha Image

By accepting you will be accessing a service provided by a third-party external to https://cambs.eu/