x

2 different logos on navigation pages

How do I change logo at top of pages because the logo will change every year based on the year of the meeting.  I don't want the same logo on each page either as there are 2 different meetings.  I don't know html or css

FYI - the logo is above the navigation bar.

www.sddermsymposium.org

1,574 Views
Message 1 of 4
Report
1 Best Answer

Best Answer

Thank you! Thank you!  It works!

One more question.  The original page logo is too small.  When I click Edit, it won't allow me to make the logo bigger.

View Best Answer >

1,545 Views
Message 5 of 4
Report
3 REPLIES 3
Square

I don't think there's a way to do that without custom HTML or CSS work, @sddermsymposium. @PaulMathews @seicolewgr, do you have any thoughts on this? 

1,556 Views
Message 5 of 4
Report

You'll create a custom page header type - which can be a copy of an existing header type for your theme (e.g., header, no header, landing, splash) - where you'll replace the {logo} mustache tag (the tag that holds the default site logo) in the header type html with a custom mustache tag like {logo2:content} (which will hold the second site logo). You'll change the header type for the pages that should display the second logo to the custom header type. On those pages, you'll drop an image element to the zone where the custom mustache tag is and load that with the new logo.

  1. Go to the Code Editor: In the Site Editor, click "Theme" in the top navigation menu then click the "Edit HTML/CSS" button.
  2. In the Code Editor, you'll see all the theme's header types at the top of the left-hand sidebar under the section heading "Header Types". Let's say that most of your site pages use the "Header" header type. You'll need to create a copy of this header type where you'll modify the logo.
  3. Create a new header type by clicking the "+" sign to the right of the Header Type section heading and select "New" and give the new header type a logical name, e.g., "header-logo2.html". Click on the "header.html" header type and copy all the code you see there. Paste that code into the custom header type, header-logo2.html (replace all the skeleton code that was created when the custom header was created). Now you have a custom header type that is identical to the theme's header page header type.
  4. In the header-logo2 header type, change all instances of the {logo} mustache tag to {logo2:content}. Click the Save button in the upper right corner of the Code Editor.
  5. In the Site Editor, click "Pages" in the top navigation then click a page in the left-hand sidebar pages stack where you wish to have the second logo appear. In the page details (in the left-hand sidebar), click the Header Type drop-down and select your custom page header type (which should appear as "Header-logo2"). You won't see the site logo above the navigation menu in this case. Drag and drop an image element to the area where the logo should be (above your site's navigation menu). As you start dragging the image element, you'll see a dotted line around the element drop area where the custom mustache tag is (right above your site's navigation menu) and that's where you'll drop the image element. Load the image element with the second logo. Add a link to your site's home page in the image element attributes. Add any necessary margins (image elements are by default, center-justified); don't manually resize the logo as this will fix its size across screen sizes (size the image for the destkop screen in your graphics application before you upload - the image will automatically shrink for mobile). This site page will appear on the front end with the same layout as a regular header type page but will display the second logo you uploaded instead of the default logo.
  6. To change the logo in other pages, click "Pages" in the Site Editor top navigation and then click the desired page in the left-hand pages stack. Change the Header Type of that page to your custom header type: Header-logo2 and the new logo will be there.

If you need the second logo to appear on another page header type, e.g., No Header, then repeat these steps to create another custom header type based on the other theme header type layout.

1,551 Views
Message 5 of 4
Report

Best Answer

Thank you! Thank you!  It works!

One more question.  The original page logo is too small.  When I click Edit, it won't allow me to make the logo bigger.

1,546 Views
Message 5 of 4
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.