• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Changing the header in the Charcoal_Grey layout

Participant ,
Oct 04, 2017 Oct 04, 2017

Copy link to clipboard

Copied

Hi, I recently followed some very helpful advice on this forum on adding an image to the right side of the header in the Charcoal_Grey output for the Responsive HTML5 output in RoboHelp 2017. I added the following in the Layout.css file, which worked perfectly:

div.header {

            background-image: url('logo_test.png');

            background-repeat: no-repeat;

            background-position: right center;

}

However, I now need to add a pinstripe that runs all the way across the header, as shown in the attached image. Please could you advise how I can do this. Could I add another image, and specify its position below the above image, or perhaps it would be possible to create another "header" and place it below the existing one? Any advice would be appreciated.

Original post:Adding an image to the header in RoboHelp 2017

header.png

Views

676

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Oct 05, 2017 Oct 05, 2017

Think I have answered my own question. We updated the layout.css as follows:

div.header {

            background-image:url('logo_test.png'), linear-gradient(to right, #F6AB00, #F6AB00);

            background-repeat:no-repeat;

            background-position:right center, left bottom 5%;

            background-color:#222933;

            color:#FFFFFF;

            background-size:auto 70%, 100% 5%;

}

Although, at first, this displayed the yellow line, but hid the right-hand image, after I added logo_test.

...

Votes

Translate

Translate
Participant ,
Oct 05, 2017 Oct 05, 2017

Copy link to clipboard

Copied

Think I have answered my own question. We updated the layout.css as follows:

div.header {

            background-image:url('logo_test.png'), linear-gradient(to right, #F6AB00, #F6AB00);

            background-repeat:no-repeat;

            background-position:right center, left bottom 5%;

            background-color:#222933;

            color:#FFFFFF;

            background-size:auto 70%, 100% 5%;

}

Although, at first, this displayed the yellow line, but hid the right-hand image, after I added logo_test.png as a baggage file, it worked perfectly, and added the yellow line under the two images in the header.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2017 Oct 05, 2017

Copy link to clipboard

Copied

Nice. If you don't mind, I'll add that to Snippets on my site as well.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 05, 2017 Oct 05, 2017

Copy link to clipboard

Copied

LATEST

Please do. It's nice to be able to give something back to the forum after all the useful advice I have received from you guys.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp