use of Home Masterpage across project-consequence?-[FIXED]
use of Home Masterpage across project-consequence?-[FIXED]
I’ve created a project using the Side navigation template. I like the footer at the bottom of the Home page in this template set. I have therefore used this Home page across my entire project. Is this a bad idea? Will it affect HTML5 output and/or PDF output please
Last edited by M33R4 on Wed Oct 06, 2021 8:25 am, edited 2 times in total.
Newbie to MadCap Flare
Re: use of Home page template in entire project - consequenc
The footer is in the master page. So if you just want the footer in other topics, then copy the div with the footer into the Other-topics master page.
Tip - you could also put the footer in a snippet, so you only need to edit it in one place.
The Home.htm topic uses a lot of extra tags and CSS to create its layout, so it's probably not a good idea to copy the home page as the basis for every single topic.
Tip - you could also put the footer in a snippet, so you only need to edit it in one place.
The Home.htm topic uses a lot of extra tags and CSS to create its layout, so it's probably not a good idea to copy the home page as the basis for every single topic.
Re: use of Home page template in entire project - consequenc
Much appreciated - thank youDave Lee wrote:The footer is in the master page. So if you just want the footer in other topics, then copy the div with the footer into the Other-topics master page.
Tip - you could also put the footer in a snippet, so you only need to edit it in one place.
The Home.htm topic uses a lot of extra tags and CSS to create its layout, so it's probably not a good idea to copy the home page as the basis for every single topic.
Newbie to MadCap Flare
Re: use of Home page template in entire project - consequenc
Hi Dave.Dave Lee wrote:The footer is in the master page. So if you just want the footer in other topics, then copy the div with the footer into the Other-topics master page.
Tip - you could also put the footer in a snippet, so you only need to edit it in one place.
The Home.htm topic uses a lot of extra tags and CSS to create its layout, so it's probably not a good idea to copy the home page as the basis for every single topic.
The footer was originally on the MasterPages > Home-Page.flmsp and fills the entire width which is what I want:
I've taken your advice and made this same footer into a Snippet and added this snippet to my MasterPages > Other-Topics.flmsp pages.
However, on the topic pages the footer snippet is falling short of taking up the entire width like the Home page does:
I've not amended the body or margins in my CSS. The template is originally the Side Navigation template.
Any ideas how I can correct this please?
Thanks.
You do not have the required permissions to view the files attached to this post.
Newbie to MadCap Flare
-
- Senior Propellus Maximus
- Posts: 2637
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: use of Home page template in entire project - consequenc
I suggest you look at the compiled page and see what that footer is inside of (divs?) and then look at the padding and margin of those elements. It can feel a bit like Sherlock Holmes territory, but you'll get there.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Re: use of Home page template in entire project - consequenc
Try something like:
1) Remove the padding around the topic:
.body-container { padding: 0; }
2) In the master page, put the topic body proxy (but not the footer) inside a div with some padding; e.g. div.my-topic
div.my-topic { padding: 1em; }
1) Remove the padding around the topic:
.body-container { padding: 0; }
2) In the master page, put the topic body proxy (but not the footer) inside a div with some padding; e.g. div.my-topic
div.my-topic { padding: 1em; }
Re: use of Home page template in entire project - consequenc
I've resolved the footer issue. It is now filling the entire width of all my pages and it is no longer touching the end of the body text. This was done in the Stylesheet as follows:
Add a Selector by right-clicking the DIV and calling it something like topics-footer.
Then add the following Properties:
Add a Selector by right-clicking the DIV and calling it something like topics-footer.
Then add the following Properties:
You do not have the required permissions to view the files attached to this post.
Newbie to MadCap Flare