add headline image

11 years 8 months ago #93175 by teena.walkerrobin@sbcglob
add headline image was created by teena.walkerrobin@sbcglob
I would like to add a background image to the top of the My Community template, a headline image to run behind the top menu and the search.

Any suggestion as to where I would edit the css? I tried adding a class,

.module-headliner {
height:100px;
background-image:headliner.jpg;
}

It works for the height but not the bgimage.

Thinks in advance for any assistance you can offer.

Post edited by: teena.walkerrobin@sbcglob, at: 2009/03/28 12:40

Please Log in to join the conversation.

11 years 7 months ago #93304 by krileon
Replied by krileon on topic Re:add headline image
[code:1]background-image: url(PATH TO IMAGE);[/code:1]

You need to have your CSS done properly.

Probably will want other things like no-repeat or something as well:

[code:1]background: url(PATH TO IMAGE) no-repeat;[/code:1]

Might also need positioning for it:

[code:1]background: url(PATH TO IMAGE) left center no-repeat;[/code:1]

www.w3.org/TR/CSS2/colors.html#q2
www.w3schools.com/css/pr_background.asp
www.tutorialhero.com/tutorial-52-css_background_image_guide.php
www.tizag.com/cssT/background.php


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

11 years 7 months ago #93836 by teena.walkerrobin@sbcglob
Replied by teena.walkerrobin@sbcglob on topic Re:add headline image
I understand css. I was hoping for hints on what div to apply the bg param to, hopefully without editing the php.

Please Log in to join the conversation.

11 years 7 months ago #93868 by teraffinity.com
Replied by teraffinity.com on topic Re:add headline image
This is solved. I tried editing the css but in the end added it to the css hardcoded in the php. Thanks for your help.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.544 seconds

Facebook Twitter LinkedIn