[opencms-dev] Help with mercury template
Jochen Graf
j.graf at alkacon.com
Mon Oct 25 17:13:02 CEST 2021
Hi Ivan,
the easiest way is to display images with a Mercury "Content section".
If you have the OpenCms demo installed locally, have a look at [1] for
an example.
In the tutorial, have a look at [2] to see how to create a new content
section and how to reuse existing content sections on different pages.
A content section can be placed into a row. Starting from an empty page:
- go to wand icon > Template elements > click on "Layout area"
- drag and drop one of the provided areas into your page, e.g. "Area -
One row"
- go to wand icon > Template elements > click on "Layout row"
- drag and drop one of the provided rows into your layout area, e.g.
"Row 1 column (12 -full)"
- go to wand icon > Content elements
- drag and drop a new section content into your layout row
- add an image to your section content as described in [3]
- go to wand icon > Content elements > click on "Content section"
- drag and drop one of the existing content sections into a layout row
Best
Jochen
[1] http://localhost/mercury-demo/content-elements/content-section/image/
[2] http://localhost/tutorial/step-1-modify-a-page/
[3] http://localhost/tutorial/step-2-edit-content/
> Hi Jochen,
>
> Right now I would like it present on all pages, but if possible can
> you show me how to do it both ways mentioned?
>
> Thank you so much for your help.
>
> Ivan
>
> *From:*Jochen Graf <j.graf at alkacon.com>
> *Sent:* Friday, October 22, 2021 6:56 AM
> *To:* opencms-dev at opencms.org
> *Subject:* Re: [opencms-dev] Help with mercury template
>
> Hi Ivan,
>
> should the logo be part of the web page header present on all pages of
> your site? Or do you simply want to place your logo in the body of a
> single web page?
>
> Best
>
> Jochen
>
> Am 22.10.21 um 06:22 schrieb Ivan Drinks Sr:
>
> I am trying to use the Mercury template. I am trying to simply
> place my company logo in the left hand corner of the webpage. How
> do I do that using the Mercury template? Everything I select says
> deprecated and creates an area in the center of the webpage. The
> documentation doesn’t seem to address this. Am I missing
> something? Thank you for your help.
>
> Ivan
>
>
>
> _______________________________________________
>
> This mail is sent to you from the opencms-dev mailing list
>
> To change your list options, or to unsubscribe from the list, please visit
>
> https://lists.opencms.org/mailman/listinfo/opencms-dev <https://lists.opencms.org/mailman/listinfo/opencms-dev>
>
> --
> Alkacon Software GmbH & Co. KG - The OpenCms Experts
> http://www.alkacon.com <http://www.alkacon.com> -http://www.opencms.org <http://www.opencms.org>
--
Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20211025/9ef3f528/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 70 bytes
Desc: not available
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20211025/9ef3f528/attachment.gif>
More information about the opencms-dev
mailing list