• Resolved Mattia

    (@albazeus)


    Hello,

    I’m editing my site using a child theme. When finished, I’d like to replicate the site and change the content (text, images) and only minor things, like the colour of the topbar, of the borders, ecc.
    I’m sure it’s a basic question, but how do I do that? Can you please point me to some documentation?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    for the color of the topbar, borders etc – go to dashboard > appearance > customize and do your setting here.

    for the content and images, you need to go

    dashboard > pages > edit pages and change the text and images. if you are using page builder, then click on the edit with ‘your page builder name’.

    Thread Starter Mattia

    (@albazeus)

    Hi,

    thanks for the quick response. After re-reading my post, I see it’s misleading. Sorry, I’m not a native English speaker.
    Of course I know how to edit the colours of the topbar, pages, etc… I’m doing this right now to create my site.
    What I need is a method to change these things automatically when I’ll replicate the site. I’m almost sure this is done with CSS. But, for example, how do I change the background colour of the topbar with it?
    Or the top border of a particular section of a particular page?
    Is there some documentation? I checked the oceanwp documentation and tutorials but I didn’t find anything about it.

    Thanks

    go to Dashboard > theme panel > import/export and click on the export file.

    now go to the site in which you want to edit. Dashboard > theme panel > import/export and click on import button after selecting the downloaded file from the above process.

    For text and images-

    go to tools > export the file then import the downloaded file in the second website.

    Thread Starter Mattia

    (@albazeus)

    Hello,

    thanks for your answer. I think I found what I’m looking for: CSS custom properties.
    However when I try this:
    :root {
    –mycolor: red;
    }
    .box-with-border:hover {
    border-top-color: var(–mycolor);
    }

    I receive an error “Expected RBRACE” at the first “-“. It works though. But I don’t think it’s a problem related to oceanwp.

    • This reply was modified 6 years, 6 months ago by Mattia.

    Yes, You are right. It is because you are using a var in your CSS code. first, define it then use it in your code.

    Thread Starter Mattia

    (@albazeus)

    Isn’t already defined with this:

    :root {
    --mycolor: red;
    }

    Can you provide the correct code?

    Thanks

    Just add the code in the customize > custom CSS/JS

    .box-with-border:hover {
        border-top-color: red;
    }
    Thread Starter Mattia

    (@albazeus)

    Ok thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Replicating site’ is closed to new replies.