[Guided LP] Mktocolor doesnt like me | Community
Skip to main content
February 15, 2016
Question

[Guided LP] Mktocolor doesnt like me

  • February 15, 2016
  • 3 replies
  • 1978 views

Hi,

i'm working on several landing page templates. At first, when i did my variables and elements i had no problem,

But then when i retested it later, it wasn't working anymore. Even though, i didn't change anything for the background color change.

To give you an example :

I declared my variables <meta class="mktoColor" id="BackgroundColor-Title_text_single" mktoName="BgColor-Text_single" default="#ffffff">

and set it to the block with : style="background-color:${BackgroundColor-Title_text_single};"

Has anyone already encountered that kind of problem ? Is there some kind of elements/variables that can create a conflict ?

Even the default settings won't work.

It's the last thing i need to fix and it's driving me nuts.

EDIT : No matter what i do, it doesn't change anything

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Scott_McKeighe2
Level 4
February 15, 2016

Have you tried declaring the variable in your landing page's CSS at the ID level?

Example:

#target-block {

background-color: ${BackgroundColor-Title_text_single};

}

February 16, 2016

Yes i did that's why i don't get it.

The strange thing is that hide/show work just fine and it's the same logic.

Grégoire_Miche2
Level 10
February 15, 2016

Bonsoir Johanna,

You will have to look at the resulting LP with your browser inspector and see what CSS class is overloading the inline style.

-Gregoire

February 16, 2016

I looked and i have absolutely no background-color in my CSS, i didn't see the point since i use Mktocolor.

All of my block have no-bg that's why that's kinda strange.

SanfordWhiteman
Level 10
February 16, 2016

I must say that screenshot is not an easily understood accompaniment to the statement "I have absolutely no background color" as it shows a background-color (non-user) style was applied.

In any case I have a feeling this is a matter of a typo.

February 16, 2016

Seems like one variable messed everything. I don't really get it, but it worked when i removed it.

Thx u for all your answers !