Search found 20 matches

by mdpais-c
Fri Feb 18, 2022 9:52 am
Forum: Styles, Stylesheets and XML
Topic: Image aspect ratio lost with body max-width
Replies: 0
Views: 1230

Image aspect ratio lost with body max-width

If I set the body of my project to have a max-width, the thumbnail pop-up images in the project don't maintain their aspect ratio when displayed/resized. The moment I remove the max-width attribute of the body, all's good with the images, but I don't want the body occupying the entire width of the s...
by mdpais-c
Mon Nov 29, 2021 2:03 pm
Forum: Web-based Outputs
Topic: Topic pop-ups and the TopNav skin
Replies: 14
Views: 30100

Re: Topic pop-ups and the TopNav skin

mdpais-c wrote:Does anyone know how to set a fixed width/height for the pop-up generated by this script?
Figured it out. Set it in div.MCTopicContainer
by mdpais-c
Mon Nov 29, 2021 12:37 pm
Forum: Web-based Outputs
Topic: Topic pop-ups and the TopNav skin
Replies: 14
Views: 30100

Re: Topic pop-ups and the TopNav skin

Does anyone know how to set a fixed width/height for the pop-up generated by this script? <script> $( document ).ready(function() { $('.MCTopicPopupHotSpot').removeClass('MCTopic').addClass('MCTopicPopup'); }); if (window.self != window.top) { // topnav $('div.title-bar-container').css('display','no...
by mdpais-c
Mon Nov 15, 2021 7:50 am
Forum: MadCap Lingo General Discussion
Topic: Merging files from SDL Trados
Replies: 3
Views: 8204

Merging files from SDL Trados

I'm a complete newbie with Lingo. I'm a technical writer that's been working with Flare for over a year, and with our online help project almost complete, I've started looking into the process of getting it translated from our outsourced translation partner. So here's what I've done and where I'm st...
by mdpais-c
Wed Aug 04, 2021 7:21 am
Forum: Web-based Outputs
Topic: Icon instead of thumbnail for image popup
Replies: 0
Views: 998

Icon instead of thumbnail for image popup

Is there a way to replace thumbnail for an image popup with an icon instead?

I like the effect that image popups have, but I'd like to use an icon instead of the thumbnail.
by mdpais-c
Wed Jul 21, 2021 4:30 am
Forum: Single-Sourcing
Topic: Set condition dynamically?
Replies: 15
Views: 16931

Re: Set condition dynamically?

Dave Lee wrote:You can do if for any content that has a condition tag, for example:

Code: Select all

[data-mc-conditions] { display: none; }
Oh brilliant. Thank you.
by mdpais-c
Tue Jul 20, 2021 9:32 am
Forum: Single-Sourcing
Topic: Set condition dynamically?
Replies: 15
Views: 16931

Re: Set condition dynamically?

During the build process, Flare converts all Madcap| prefixed tags/CSS into the actual tags/CSS used in the output. My guess is that the display attribute isn't converted into the output CSS - it's quite common for Madcap| styles to only support certain attributes, but unfortunately that's not docu...
by mdpais-c
Tue Jul 20, 2021 6:25 am
Forum: Single-Sourcing
Topic: Set condition dynamically?
Replies: 15
Views: 16931

Re: Set condition dynamically?

My company is trying to have our online help work exactly like this (no multiple targets, content displays based on parameters in the URL). I'm the technical writer that's working on the online help using Madcap Flare and I have the support of the Dev team (they have no knowledge of Madcap Flare). P...
by mdpais-c
Tue May 25, 2021 7:39 am
Forum: Web-based Outputs
Topic: Select Language Topic Toolbar drop-down alignment
Replies: 1
Views: 833

Select Language Topic Toolbar drop-down alignment

I've inserted the topic toolbar (Select Button only) onto my masterpage and aligned it to the right of the page. All's good except that the drop-down aligns with the left side of the button and is hence outside the visible screen (see attached screenshot). How do I get the drop-down to align with th...
by mdpais-c
Thu May 13, 2021 6:52 am
Forum: Styles, Stylesheets and XML
Topic: Breadcrumbs URL font color
Replies: 2
Views: 1120

Re: Breadcrumbs URL font color

Doh! Thank you for bearing with a stupid question. You rock Nita.
Nita Beck wrote:In your stylesheet, you need to modify the MCBreakcrumbsLink CSS.
by mdpais-c
Thu May 13, 2021 6:12 am
Forum: Styles, Stylesheets and XML
Topic: Breadcrumbs URL font color
Replies: 2
Views: 1120

Breadcrumbs URL font color

Is there anyway to change the font color of URLs in the breadcrumbs only (and not of all URLs in the project)?
by mdpais-c
Fri Mar 26, 2021 8:27 am
Forum: Styles, Stylesheets and XML
Topic: Including attribute in complex selector
Replies: 2
Views: 997

Re: Including attribute in complex selector

Style any tag that is a named toggler target: [data-mc-target-name] { } Brilliant. I have a bunch of h3 headings in my project, some of which toggle the div below them. I wanted to change the left margin for the divs that are toggled and had tried h3 + div[target] which didn't work. data-mc-target-...
by mdpais-c
Wed Mar 24, 2021 10:33 am
Forum: Styles, Stylesheets and XML
Topic: Including attribute in complex selector
Replies: 2
Views: 997

Including attribute in complex selector

I need to include an attribute in a complex selector in my stylesheet but can't figure out how to do this in Flare. I know that CSS supports this by including the attribute and value within [], and I've tried including the same in the stylesheet using the internal text editor but I've had no luck. T...
by mdpais-c
Wed Mar 17, 2021 10:05 am
Forum: Web-based Outputs
Topic: Back to Top button in SideNav
Replies: 12
Views: 8260

Re: Back to Top button in SideNav

Brilliant. Thanks Dave. There's a small glitch when you scroll down and then resize the window to the tablet view or vice versa (the icon disappears and reappears) but I can live with that.
by mdpais-c
Tue Mar 16, 2021 10:31 am
Forum: Web-based Outputs
Topic: Back to Top button in SideNav
Replies: 12
Views: 8260

Re: Back to Top button in SideNav

I've used this code in my project after replacing div.body-container with .body-container. It works perfectly in the web view. The problem is the button doesn't display in the tablet view (when I reduce the width of the window until the side nav bar disappears). Any suggestions? JavaScript as separa...
by mdpais-c
Thu Dec 10, 2020 12:52 pm
Forum: Web-based Outputs
Topic: 1st Level Menu Item Background
Replies: 1
Views: 782

1st Level Menu Item Background

I seem to be unable to change the background colour of the 1st Level Menu Item in the Top Navigation Skin. I've changed the background of the 1st Level under Top Navigation Menu and 1st Level under Top Navigation Menu Item (hover), but the 1st Level (also the 2nd, 3rd and 4th Level) under Top Naviga...
by mdpais-c
Wed Dec 09, 2020 12:07 pm
Forum: WebHelp Mobile
Topic: Unable to view mobile version in Smartphone view
Replies: 0
Views: 27933

Unable to view mobile version in Smartphone view

I've inherited a project (let's call it Project X) that required a few tweaks, and for some reason I simply cannot seem to get the mobile version to show in the smartphone view. When I go to Project > View Primary > View project > Smartphone, it shows me the web version with the menu items of the to...
by mdpais-c
Mon Jul 20, 2020 7:50 am
Forum: Web-based Outputs
Topic: Bookmarks and togglers - can I have both?
Replies: 0
Views: 535

Bookmarks and togglers - can I have both?

The different sections of my page have togglers and bookmarks. I've noticed that if I put a bookmark within a toggle section, clicking on a link to the bookmark will toggle open the section but not scroll to that section of the page. However, if I place the bookmark just before the toggle section di...
by mdpais-c
Thu May 14, 2020 5:31 am
Forum: Styles, Stylesheets and XML
Topic: Changing the colour of a div element based on the parent div
Replies: 3
Views: 1645

Re: Changing the colour of a div element based on the parent

Ooh. That worked brilliantly. Thank's Gene K.

For anyone that might find this post of interest, there's a slight mistake in step 3 of Gene K's instructions to be used in the Flare Stylesheet editor - I had to type div.tip instead of div.example.
by mdpais-c
Wed May 13, 2020 3:10 pm
Forum: Styles, Stylesheets and XML
Topic: Changing the colour of a div element based on the parent div
Replies: 3
Views: 1645

Changing the colour of a div element based on the parent div

This is my first time posting on the forum. I'm a new Madcap Flare user who's done some quick tutorials on css to help me in my technical writing. Just wondering whether what I want is possible in Madcap Flare. Among the div styles I've created in my project I have a div.tip which has a grey backgro...