Center Div not Bootstrap compatible

Center Div not Bootstrap compatible was created by rodf

Posted 10 years 9 months ago #11899
By default the main content / component panel in templates created in Template Creator are in a DIV called "center". Bootstrap css defines .center as text-align:center which means that all content text is centered whenever bootstrap is loaded which is obviously not acceptable.

Is there a simple way to rename this div without having to manually edit the index.php each time?
by rodf

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Center Div not Bootstrap compatible

Posted 10 years 8 months ago #11909
Hi
on the center block you can click on the CSS button and choose Text tab >> text align : left
this will override the .center class from bootstrap
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by rodf on topic Center Div not Bootstrap compatible

Posted 10 years 8 months ago #11913
That doesn't override the Bootstrap CSS though because it has priority
by rodf

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Center Div not Bootstrap compatible

Posted 10 years 8 months ago #11916
I have tested by my side and it works
do you have an url to see the issue ?

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.737 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 880 guests and 2 members online