Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

I can not change the width of a row correctly

Featured Lock Resolved Task
Hi there,


I'm trying to change the width of a text. My current text is very wide. I have created this class, with this CSS code:


.inicio {
max-width: 600px;
}


But the result is this:

http://partech.com.co/result.png

My text runs to the left,
It should reduce the width but keep it in the center.

What am I doing wrong or ignoring?


I appreciate the help very much.

Thanks.

3 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
this should help:

.inicio { max-width: 600px; text-align: center; margin:0 auto; }


if OK, please close topic.

Angela Millan

More than a month ago #Permalink
Hi Paul,

Now, the text is perfect!

Really thank you very much. :D



Hi,
this should help:

.inicio { max-width: 600px; text-align: center; margin:0 auto; }


if OK, please close topic.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 127
Sifat

Sifat

Total Accepted Answers: 83
Toufiq

Toufiq

Total Accepted Answers: 71
Pavel

Pavel

Total Accepted Answers: 6
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 5

114

Templates

293294

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us