Jump to content

Search the Community

Showing results for tags 'branding'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Customers Only!
    • Theme modifications
    • Theme errors and bug reports
    • Theme Tutorials (4.4 and below)
    • Customer Couch
  • Latest News & Announcements
  • General
    • News
    • General Discussion
    • Customer Testimonials
    • Frequently Asked Questions
  • IPS Community Suite 4.x
    • Tutorials for IPS Community Suite 4.x

Product Groups

  • 3.x Themes
  • 4.x Themes

Categories

  • Themes
    • 4.4.x
    • 4.x

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


ICQ


Yahoo


Jabber


Skype


Interests


Location

Found 1 result

  1. This tutorial will teach you how to add a background image to the header in the default IPS theme, as shown below. BEFORE: AFTER: 1. To begin, log into your ACP and browse to Customization > Themes. Click the arrow to the right of your theme and select Manage Resources. Click the + Add Resource button at the top right. 2. Change the location from admin to global and use the Choose single file... button to upload your background image. This tutorial uses header.jpg as the file name, however you are welcome to use whatever name you like. Press Save. 3. You will be taken back to the resources page. Use the Search: Name field at the top right to search for your file name (header.jpg). Under the Template tag column, you'll see your resource code which allows you to reference that image in your css and HTML. We'll need this code in the next step: {resource="header.jpg" app="core" location="global"} 4. Go to Customization > Themes > Edit HTML and CSS. Click the CSS tab and choose custom.css. Paste the following code: @media screen and (min-width:980px){ #ipsLayout_header header{ background-image: url('{resource="header.jpg" app="core" location="global"}'); background-size: cover; background-position: 50% 0%; background-repeat: no-repeat; } } The first line, starting with @media restricts the css to desktops and laptops. The background image will not be shown for tablets or mobiles (which is ideal for loading times). If you wish to show the image on all devices, remove the top line, and the } in the very last line. background-image simply defines our image URL, using the template tag from step 3. background-size defines if the image should be stretched to occupy the entire space of the header. Remove this line if you don't want the image to use it's natural image size background-position defines the position of the image (centered horiztontally, positioned at the top vertically). background-repeat defines how the image should be repeated (no-repeat, repeat, repeat-x, repeat-y) For an added effect, the background of the navigation bar has been changed to a semi-transparent black, which allows your background image to show beneath it. You are welcome to remove that code if you wish since it may not look correct for all images. Done!
×
×
  • Create New...