Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #350055 Score: 0
    Profile photo of amanda hetherington
    amanda hetherington
    Member
    beginner
    intermediate
    friend finder
    curious george
    picture perfect
    wise owl
    contributor
    3 pts
    @ahetherington9113

    Hi all

    I’m using Lectora 17.0.2

    Is it possible to change the colour of the highlight box that sits over the current page in the table of contents? I can change everything else, except for this and it is a funny light brown/orange colour.

    Thanks!

    Amanda

    #350156 Score: 1
    Profile photo of Jennifer Valley
    Jennifer Valley
    Moderator
    contributor
    beginner
    friend finder
    advanced
    lectora beginner
    verified member
    wise owl
    profile
    picture perfect
    curious george
    92 pts
    @jvalley4735

    Not within the program but I’d imagine you could change the code associated to the element. I’ll add editing capabilities for the table of contents to the list of future suggestions.  Maybe @mnotermans5114 might have an idea?

    This post has received 1 vote up.
    #350158 Score: 0
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    47 pts
    @mnotermans5114

    Hi Amanda, im sure you can change it. Probably with a CSS, you just need the proper class thats assigned to it. If you have a sample of it, i can check it out.

    Regards,
    Math

    #350175 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    1 pt
    @JasonADal

    For what it’s worth, looking at the element in the HTML, each line gets it’s own div ID (entry1, entry2, etc.) that has a style for background defined. The background style isn’t applied to the line if it isn’t the current page. I did find the matching hex version of the color (the HTML uses the RGB value) in the trivantis-toc JS file under toc.obj.selnode.display.

    I’m not sure if this helps save you some digging, Math, but thought I’d put what I had found when working on the same question.

     

    #350216 Score: 0
    Profile photo of amanda hetherington
    amanda hetherington
    Member
    beginner
    intermediate
    friend finder
    curious george
    picture perfect
    wise owl
    contributor
    3 pts
    @ahetherington9113

    Thanks all. It’s the standard Lectora Indented List Table of Contents object. I can change all the other properties within Lectora except for the selected page highlight. I can see I could add a CSS class to the appearance but I don’t know what to put here.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.