-
AuthorPosts
-
sebbs Friend
sebbs
- Join date:
- February 2006
- Posts:
- 529
- Downloads:
- 0
- Uploads:
- 62
- Thanks:
- 164
- Thanked:
- 6 times in 2 posts
August 8, 2014 at 4:35 pm #200357site: http://bmwqc2.dev.dnsnetworks.ca/joomla/
How would I be able to make my modules look like they do in this site: http://bmwccottawa.org/
Title in a bubble and the module wrapped in a square-like shape?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 8, 2014 at 4:51 pm #545241For starters, here is the CSS relative to the headers for the modules on the bmwccottawa page:
.box-wrapper h3 {
background: url("../images/bgi/small-title-bg.png") no-repeat scroll left top rgba(0, 0, 0, 0);
color: #6d6d6d
font: bold 12px Arial,Helvetica,sans-serif;
height: 20px;
padding: 8px 0 8px 14px;
text-shadow: 1px 1px 1px #e8e8e8
text-transform: uppercase;
width: 191px;
}So, if you want something similar, you would first need to upload a similar header background image (i.e. small-title-bg.png) to your images folder. There are all kinds of free resources for backgrounds like this all over the web.
You can then identify such for the background for YOUR module headers.
sebbs Friendsebbs
- Join date:
- February 2006
- Posts:
- 529
- Downloads:
- 0
- Uploads:
- 62
- Thanks:
- 164
- Thanked:
- 6 times in 2 posts
August 8, 2014 at 6:25 pm #545250Okay I saved the image… however now I’m thinking that this may not work since the image is a specific width and my bmwqc2.dev.dnsnetworks.ca site has an auto width of 100%? Therefore shouldn’t I be styling via css? If I’m totally off here, can you step me through it?
Can we make squares around EVERY module like the login module on the front page?
<em>@TomC 440383 wrote:</em><blockquote>For starters, here is the CSS relative to the headers for the modules on the bmwccottawa page:
.box-wrapper h3 {
background: url("../images/bgi/small-title-bg.png") no-repeat scroll left top rgba(0, 0, 0, 0);
color: #6d6d6d
font: bold 12px Arial,Helvetica,sans-serif;
height: 20px;
padding: 8px 0 8px 14px;
text-shadow: 1px 1px 1px #e8e8e8
text-transform: uppercase;
width: 191px;
}So, if you want something similar, you would first need to upload a similar header background image (i.e. small-title-bg.png) to your images folder. There are all kinds of free resources for backgrounds like this all over the web.
You can then identify such for the background for YOUR module headers.</blockquote>
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 11, 2014 at 10:33 am #545450<em>@sebbs 440395 wrote:</em><blockquote>Okay I saved the image… however now I’m thinking that this may not work since the image is a specific width and my bmwqc2.dev.dnsnetworks.ca site has an auto width of 100%? Therefore shouldn’t I be styling via css? If I’m totally off here, can you step me through it?
Can we make squares around EVERY module like the login module on the front page?</blockquote>
You can try to use my solution below
Open templates/beez3/css/personal.css file and add new rule
.moduletable h3{
border-bottom: solid 1px #ddd ;
background: url(http://bmwccottawa.org/templates/bmwccottawa/images/bgi/small-title-bg.png) no-repeat top left;
height: 20px;
width: 191px;
font: bold 12px Arial, Helvetica, sans-serif;
color: #6d6d6d ;
text-transform: uppercase;
text-shadow: 1px 1px 1px #e8e8e8 ;
padding: 8px 0 8px 14px;
}1 user says Thank You to Ninja Lead for this useful post
sebbs Friendsebbs
- Join date:
- February 2006
- Posts:
- 529
- Downloads:
- 0
- Uploads:
- 62
- Thanks:
- 164
- Thanked:
- 6 times in 2 posts
August 11, 2014 at 8:35 pm #545538Hey that worked great! Is there a way we can make them auto size based on the screen the user or would I need to create a new background for that?
http://bmwqc2.dev.dnsnetworks.ca/joomla/
<em>@Ninja Lead 440665 wrote:</em><blockquote>You can try to use my solution below
Open templates/beez3/css/personal.css file and add new rule
.moduletable h3{
border-bottom: solid 1px #ddd ;
background: url(http://bmwccottawa.org/templates/bmwccottawa/images/bgi/small-title-bg.png) no-repeat top left;
height: 20px;
width: 191px;
font: bold 12px Arial, Helvetica, sans-serif;
color: #6d6d6d ;
text-transform: uppercase;
text-shadow: 1px 1px 1px #e8e8e8 ;
padding: 8px 0 8px 14px;
}
</blockquote>TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 11, 2014 at 9:10 pm #545542I’m wondering if you can use a smaller (width) background image with a “repeat-x” modifier ….
. . . to a “max-width” of 191px.This is just a brainstorm idea – not certain if it will work or not.
I’d like to see Ninja Lead’s thoughts as well. 😎
sebbs Friendsebbs
- Join date:
- February 2006
- Posts:
- 529
- Downloads:
- 0
- Uploads:
- 62
- Thanks:
- 164
- Thanked:
- 6 times in 2 posts
August 12, 2014 at 5:16 pm #545690Any ideas on how I would go about that?
Yes, I would like to here Ninja Leads ideas as well.
<em>@TomC 440771 wrote:</em><blockquote>I’m wondering if you can use a smaller (width) background image with a “repeat-x” modifier ….
. . . to a “max-width” of 191px.This is just a brainstorm idea – not certain if it will work or not.
I’d like to see Ninja Lead’s thoughts as well. :cool:</blockquote>
sebbs Friendsebbs
- Join date:
- February 2006
- Posts:
- 529
- Downloads:
- 0
- Uploads:
- 62
- Thanks:
- 164
- Thanked:
- 6 times in 2 posts
August 12, 2014 at 7:50 pm #545706How can we make the module heading styles exactly like they are in this site : http://www.trillium-bmwclub.ca/
<em>@Ninja Lead 440665 wrote:</em><blockquote>You can try to use my solution below
Open templates/beez3/css/personal.css file and add new rule
.moduletable h3{
border-bottom: solid 1px #ddd ;
background: url(http://bmwccottawa.org/templates/bmwccottawa/images/bgi/small-title-bg.png) no-repeat top left;
height: 20px;
width: 191px;
font: bold 12px Arial, Helvetica, sans-serif;
color: #6d6d6d ;
text-transform: uppercase;
text-shadow: 1px 1px 1px #e8e8e8 ;
padding: 8px 0 8px 14px;
}
</blockquote>Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 13, 2014 at 1:55 am #545747Please try this way to have auto size based on the screen.
Open the templates/beez3/css/personal.css file
change:
.moduletable h3{
border-bottom: solid 1px #ddd ;
background: url(http://bmwccottawa.org/templates/bmwccottawa/images/bgi/small-title-bg.png) no-repeat top left;
height: 20px;
width: 191px;
font: bold 12px Arial, Helvetica, sans-serif;
color: #6d6d6d ;
text-transform: uppercase;
text-shadow: 1px 1px 1px #e8e8e8 ;
padding: 8px 0 8px 14px;
}
to
.moduletable h3 {
background: #fff url('http://www.trillium-bmwclub.ca/sites/trillium-bmwclub.ca/themes/sky/images/bg-shade-light.png') repeat-x bottom left;
color: #777 ;
display: block;
font-weight: 700;
letter-spacing: normal;
text-align: left;
font-size: 1.1em;
padding: 5px 10px;
margin: 0;
text-shadow: #fff 1px 1px 1px;
color: #555 ;
-moz-border-radius-topleft: 0.333em;
-webkit-border-top-left-radius: 0.333em;
-moz-border-radius-topright: 0.333em;
-webkit-border-top-right-radius: 0.333em;
border-radius-topright: 0.333em;
border-radius-topleft: 0.333em;
border: solid 1px #ddd ;
border-bottom: 0;
}1 user says Thank You to Ninja Lead for this useful post
sebbs Friendsebbs
- Join date:
- February 2006
- Posts:
- 529
- Downloads:
- 0
- Uploads:
- 62
- Thanks:
- 164
- Thanked:
- 6 times in 2 posts
August 18, 2014 at 6:51 pm #546435Yes!!! This look amazing! http://bmwqc2.dev.dnsnetworks.ca/joomla/ I totally want to be as good as all you guys! Thanks!
<em>@Ninja Lead 441026 wrote:</em><blockquote>Please try this way to have auto size based on the screen.
Open the templates/beez3/css/personal.css file
change:
.moduletable h3{
border-bottom: solid 1px #ddd ;
background: url(http://bmwccottawa.org/templates/bmwccottawa/images/bgi/small-title-bg.png) no-repeat top left;
height: 20px;
width: 191px;
font: bold 12px Arial, Helvetica, sans-serif;
color: #6d6d6d ;
text-transform: uppercase;
text-shadow: 1px 1px 1px #e8e8e8 ;
padding: 8px 0 8px 14px;
}
to
.moduletable h3 {
background: #fff url('http://www.trillium-bmwclub.ca/sites/trillium-bmwclub.ca/themes/sky/images/bg-shade-light.png') repeat-x bottom left;
color: #777 ;
display: block;
font-weight: 700;
letter-spacing: normal;
text-align: left;
font-size: 1.1em;
padding: 5px 10px;
margin: 0;
text-shadow: #fff 1px 1px 1px;
color: #555 ;
-moz-border-radius-topleft: 0.333em;
-webkit-border-top-left-radius: 0.333em;
-moz-border-radius-topright: 0.333em;
-webkit-border-top-right-radius: 0.333em;
border-radius-topright: 0.333em;
border-radius-topleft: 0.333em;
border: solid 1px #ddd ;
border-bottom: 0;
}
</blockquote>TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 18, 2014 at 6:56 pm #546436<em>@sebbs 441884 wrote:</em><blockquote>Yes!!! This look amazing! http://bmwqc2.dev.dnsnetworks.ca/joomla/ I totally want to be as good as all you guys! Thanks!</blockquote>
so do I 😉
-
AuthorPosts
This topic contains 11 replies, has 3 voices, and was last updated by TomC 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum