I am trying to create a Carousel with text and some graphics in a selection of Carousel panes, on some of the panes i need to use the Read More action, which works great except my text is white against a Blue background, the Read more pane comes up in white, can i change the colour of the background of the read more pane?
Not the current version, but I just pushed an update that would let you do this. You need to add a style to your page, either through the Page / HTML Markup, in a tag block, or using the Tag-only Style technique in the Styles palette. This style should look like this:
#_more_overlay { color: black !important; }
Or substitute another color if you don’t want black. You can also add other attributes, too. The !important flag at the end of the attribute(s) will override even an inline style in the Freeway-generated HTML that the Action slurps up into the overlay box.
Walter
On Sep 27, 2012, at 6:28 AM, ejw wrote:
I am trying to create a Carousel with text and some graphics in a selection of Carousel panes, on some of the panes i need to use the Read More action, which works great except my text is white against a Blue background, the Read more pane comes up in white, can i change the colour of the background of the read more pane?
Thanks, i downloaded and installed the update, then added the code you suggested in the Markup ( i would prefer to do it through the Tag in the Styles menu but could not work out how to do that… )
#_more_overlay p.style11 {
color: black !important;
}
Pay attention to that style11 part, though – if you ever go through your styles and rationalize their naming, you’ll need to update your CSS patch, too.
Walter
On Sep 27, 2012, at 3:39 PM, ejw wrote:
Walter,
Thanks, i downloaded and installed the update, then added the code you suggested in the Markup ( i would prefer to do it through the Tag in the Styles menu but could not work out how to do that… )
Did that thank you, what i am trying to do is to change the color of the background in the Read More window to #003366 (Blue) and the text to white to remain consistent with the rest of the site. Apologies for the confusion, the code you suggest is changing the colour of the text and leaving the background to white.
Aha. Somehow I missed that point. To change the background of the box, you would use this style code instead:
#_more_overlay div { background-color: #003366 }
Walter
On Sep 28, 2012, at 12:31 AM, ejw wrote:
Walter,
Did that thank you, what i am trying to do is to change the color of the background in the Read More window to #003366 (Blue) and the text to white to remain consistent with the rest of the site. Apologies for the confusion, the code you suggest is changing the colour of the text and leaving the background to white.
Thanks for the update and i apologise for my lack of understanding on the HTML front! but i am learning (albeit slowly)
I am on the road at the moment, i tried you suggestions but it did not work for me, i may have rushed the implementation of your suggestion and now i am working with my laptop so limited screen space… I will try again when i get to my destination later on the 29th.
OK, The Read More Action is giving me more challenges… I have tired to implement the Read more on a different page on the same site and it does not work any more… if you look at
On the left is the offending read more that i cannot get to display correctly ie Blue background and white text. When i look at the Code inspector in Chrome it indicates that within the CSS style the background-color statement is not recognised.
Yet if you go to the Home page and select one of the Carousels read more options it all works fine …however with the same issue relating to the css style…
This will only apply to this page when you add it to Page>html Markup in the Before So you need to do it on every page where is a an incidence of the Read More action.
Thank You this did work, but you will have to have a little more patience with me on this, as you are aware i am new to this but trying my best to learn as i go… i have a number of questions:-
Your first suggestion only differed in that the colour of the background was different yet the second solution had a totally different result in that it did change the background of the overlay.
I am no expert but doesn’t the <! – sequence mean it’s a comment ?? so how does this work. in fact i removed the opening and closing comments in the HTML Markup and it had the same result… it worked.
I still do not understand how the Read More action is working on the Home page where this extra HTML Markup is not used, it appears to work just on the .more style. parameters
Please do not misunderstand i am very appreciative of your help, but i am also trying my best to learn from what you are telling me and at the moment there are some inconsistencies in the information at this stage… but that may just be the way i am interpreting the information.
BTW - the Home page has the following Markup code on it
Which was suggested to you by Walter on 28th September
David,
Yes when i read the post back myself i realised that at the time i was more comfortable with using the Style Tag in the Styles Palette, so went there to find what i had done and found the .more style so foolishly thought this was how the home page was working. When i looked in the HTML markup for the home page i found that there was nothing in Before i should have looked a little closer and i would have found the code at After .