-
AuthorPosts
-
timpennington Friend
timpennington
- Join date:
- May 2009
- Posts:
- 242
- Downloads:
- 33
- Uploads:
- 14
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
July 24, 2015 at 7:55 pm #640162On the headers for the sidebar module, is there any way to extend the background color of the header to full width of the module, and maybe then center the text?
Right now it only goes as far as there is letters
See image
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 24, 2015 at 8:19 pm #644867Try This . . . .
If you haven’t yet done so, create a new file called “custom.css” within file path –> /templates/teline_v/css/
Within that custom.css file, paste the following CSS rule:
.module-title {
text-align: center;
width: 100%;
}
SAVE CHANGES – CLEAR CACHE – REFRESH PAGEBetter ??
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 24, 2015 at 8:19 pm #743498Try This . . . .
If you haven’t yet done so, create a new file called “custom.css” within file path –> /templates/teline_v/css/
Within that custom.css file, paste the following CSS rule:
.module-title {
text-align: center;
width: 100%;
}
SAVE CHANGES – CLEAR CACHE – REFRESH PAGEBetter ??
timpennington Friendtimpennington
- Join date:
- May 2009
- Posts:
- 242
- Downloads:
- 33
- Uploads:
- 14
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
July 24, 2015 at 8:40 pm #644869I thought the module was t3-sidebar, and so when I changed it like above, it went haywire:
Any suggestions?
timpennington Friendtimpennington
- Join date:
- May 2009
- Posts:
- 242
- Downloads:
- 33
- Uploads:
- 14
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
July 24, 2015 at 8:40 pm #743500I thought the module was t3-sidebar, and so when I changed it like above, it went haywire:
Any suggestions?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 24, 2015 at 8:43 pm #644870Hmmmm, that’s odd . . . It worked fine when I tested it out in Firebug. :((
Get rid of that CSS rule in your custom.css file and I’ll take another look.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 24, 2015 at 8:43 pm #743501Hmmmm, that’s odd . . . It worked fine when I tested it out in Firebug. :((
Get rid of that CSS rule in your custom.css file and I’ll take another look.
timpennington Friendtimpennington
- Join date:
- May 2009
- Posts:
- 242
- Downloads:
- 33
- Uploads:
- 14
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
July 24, 2015 at 9:39 pm #644871OK, I got rid of the CSS
timpennington Friendtimpennington
- Join date:
- May 2009
- Posts:
- 242
- Downloads:
- 33
- Uploads:
- 14
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
July 24, 2015 at 9:39 pm #743502OK, I got rid of the CSS
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 24, 2015 at 10:00 pm #644872Try adding this entire CSS rule to custom.css:
.module-title {
background: #cc0000 none repeat scroll 0 0;
color: #ffffff;
display: inline-block;
font-family: "Roboto Condensed","Arial Narrow","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: 400;
line-height: normal;
margin: 0;
padding: 6px 12px;
text-align: center;
text-transform: uppercase;
width: 100%;
}See how that works.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 24, 2015 at 10:00 pm #743503Try adding this entire CSS rule to custom.css:
.module-title {
background: #cc0000 none repeat scroll 0 0;
color: #ffffff;
display: inline-block;
font-family: "Roboto Condensed","Arial Narrow","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: 400;
line-height: normal;
margin: 0;
padding: 6px 12px;
text-align: center;
text-transform: uppercase;
width: 100%;
}See how that works.
timpennington Friendtimpennington
- Join date:
- May 2009
- Posts:
- 242
- Downloads:
- 33
- Uploads:
- 14
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
July 24, 2015 at 10:07 pm #644873Ugh … that didn’t do it
here is the URL of that page: http://goturpin.com/2015_Teline/index.php/fall/football
timpennington Friendtimpennington
- Join date:
- May 2009
- Posts:
- 242
- Downloads:
- 33
- Uploads:
- 14
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
July 24, 2015 at 10:07 pm #743504Ugh … that didn’t do it
here is the URL of that page: http://goturpin.com/2015_Teline/index.php/fall/football
-
AuthorPosts
This topic contains 22 replies, has 2 voices, and was last updated by timpennington 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum