Keyword

Center title

  • svinet
  • svinet's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #116835 by svinet
Center title was created by svinet
I would like to center the title on an article, does anyone know the css that I need to change and the name of the file?

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

More
11 years 1 month ago #116836 by Johan
Replied by Johan on topic Re: Center title
Give me a link to the site.

And I will give it to you.

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

  • svinet
  • svinet's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #116837 by svinet

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

More
11 years 1 month ago - 11 years 1 month ago #116838 by Johan
Replied by Johan on topic Re: Center title
Go to templates/rt_metropolis/css-compiled/thirdparty-k2.css

find #k2Container.itemView h2 {
and add this:

margin-left: auto;
margin-right: auto;
text-align: center;

I assume rockettheme is using something to compile the css and have a thirdparty addon for this file. You might need to go and find there original k2.css file which should be in templates/css.

and add the above line. So its not erased when you remove the cache.

Try looking for that file in templates/rt_metropolis/css/thirdparty-k2.css

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


Powered by Kunena Forum