-
AuthorPosts
-
May 12, 2014 at 10:20 pm #197692
My default menu point is a K2 category with article display from several categories.
As you can see here, I’ve created a header called “Siste fra BV Bloggtest” (top of image).
However, I would like the header to be in the same style as all the other module headers:
What is the simplest way to accomplish this?
Thanks!
-
TomC Moderator
TomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 12, 2014 at 10:32 pm #534768So that we can try to best assist you, please provide the url of the site you’re working on
May 12, 2014 at 10:35 pm #534769TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 12, 2014 at 10:41 pm #534770<em>@mpitof 426788 wrote:</em><blockquote>http://batpleie.no/bv/</blockquote>
Can you provide a link to the specific page at issue?(as I don’t speak/read the language of the site, it is difficult for me to locate the page you’re speaking of)
May 12, 2014 at 10:43 pm #534771It’s on the front page! I changed the header text now to: JoomlArt This Heading
so just do a Ctrl+F 🙂TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 12, 2014 at 10:52 pm #534772Try adding the following within your custom.css file . . .
.componentheading {
background: none repeat scroll 0 0 #1188CC
color: #FFFFFF
font-family: novecento_wide_lightbold;
font-size: 14px;
font-weight: normal;
line-height: 30px;
padding-left: 10px;
text-transform: uppercase;
width: 200px;
}Better?
1 user says Thank You to TomC for this useful post
May 12, 2014 at 10:56 pm #534774I added the code to templates/ja_mitius/css/custom.css file. As you can see, now the text is in CAPS, but not, however, in the same style as the other subheadings…
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 12, 2014 at 10:59 pm #534776<em>@mpitof 426794 wrote:</em><blockquote>I added the code to templates/ja_mitius/css/custom.css file. As you can see, now the text is in CAPS, but not, however, in the same style as the other subheadings…</blockquote>
Not sure you properly entered/saved the above CSS into your custom.css file.
I just checked – with a refreshed site – and it wasn’t there.
May 12, 2014 at 11:02 pm #534777It wasn’t?
I’ve added it to this file: http://batpleie.no/bv/templates/ja_mitius/css/custom.css
Which looks like this to me:
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 13, 2014 at 3:23 am #534785@mpitof: I see the missing semi-colon in the templates/ja_mitius/css/custom.css file, please see the highlight in red below:
.componentheading {
background: none repeat scroll 0 0 #1188CC;
color: #FFFFFF;
font-family: novecento_wide_lightbold;
font-size: 14px;
font-weight: normal;
line-height: 30px;
padding-left: 10px;
text-transform: uppercase;
width: 200px;
}
1 user says Thank You to Ninja Lead for this useful post
May 13, 2014 at 12:10 pm #534858Thank you, this helps a lot!
Is there a way to make the width of the background expand correctly to the text? Now it is set to 200px “static”.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 13, 2014 at 4:00 pm #534896<em>@Ninja Lead 426811 wrote:</em><blockquote>@mpitof : I see the missing semi-colon in the templates/ja_mitius/css/custom.css file, please see the highlight in red below:
</blockquote>
whoops …. sorry about that
AuthorPostsViewing 12 posts - 1 through 12 (of 12 total)This topic contains 12 replies, has 3 voices, and was last updated by TomC 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-