Jump to content

[Solved]Is this code correct? modifying background color


Recommended Posts

Hi guys, just a quick question. I need to modify background color of text header in one page checkout. I have found that this change needs to be done in file order-opc-new-account.tpl

 

I have found this lane and put there red code but I don´t see any change. What I do wrongly?

 

<p class="title_block" style="background-color: yellow">{l s='Instant Checkout'}</p>

 

See screen.

 

Thx.

post-800109-0-39738600-1414439632_thumb.jpg

Edited by domorodecmezilidmi (see edit history)
Link to comment
Share on other sites

Aha, thank you. But still the same. Look, I have copied bigger part of this file:

 

<form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="new_account_form" class="std box form-horizontal" autocomplete="on" autofill="on">
        <fieldset>
            <div class="box">
                <h3 id="new_account_title" class="page-subheading">{l s='New Customer'}</h3>
                <div id="opc_account_choice" class="clearfix">
                    <div class="col-xs-12 col-md-6">
                        <p style="background:yellow; display:block;">{l s='Instant Checkout'}</p>
                        <p class="opc-button">
                            <button type="submit" class="btn btn-default button button-medium exclusive" id="opc_guestCheckout"><span>{l s='Guest checkout'}</span></button>
                        </p>
                    </div>
    
                    <div class="col-xs-12 col-md-6">
                        <p class="title_block">{l s='Create your account today and enjoy:'}</p>
                        <ul class="bullet list-unstyled">

Link to comment
Share on other sites

your css files are minified, preferences > performance

there is an option to clear shop cache and recompile theme

in cases like that it's necessary to recompile template.

 

on the same page you will see options to minify (CCC for js and css files) css and js files. your shop uses these options.

  • Like 1
Link to comment
Share on other sites

Ok but I have mode of my eshop under construction cause I am still working slowly on some things to do. So recompilation is permanently turned on, cache is turned off. But I will check other settings you advise me later on today. You are probably right but I need to check it at home. Anyway thank you much. Was sure that you will not reply anymore  :unsure: .

Link to comment
Share on other sites

I have got it. So I turned off all caches cause there is not only one but few settings for cache and also Css turned off. Then I put simply - background-color:yellow; to file in mytemplate\css\global.css to line for #new_account_form h3 and it works.

 

So now I really see the original path of each files when all these caches and memmories are turned off.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...