After package-generator

1 reply · opened Apr 15, 2023

DdanielcdtruongApr 15, 2023

Hi,

After package-generator, and unzip all my files are:
demo-construction
demo-construction-about-us
demo-construction-blog
demo-construction-careers
demo-construction-contact
demo-construction-icons
demo-construction-investors
demo-construction-projects
demo-construction-projects-2
demo-construction-projects-3
demo-construction-projects-4
demo-construction-services

  1. How do I change to index contact blog project ... ?
  2. missing Gear to change colors for hold website on near top right. so me how to fix ? THANKS
  3. I can see blog but how can i create new blog? please show me because did not include on code

Best Regards,
Daniel Truong

SSemicolon WebSTAFFApr 15, 2023

Hello,

  1. Since this is a Static HTML5/CSS3 Template, you will need to manually rename the Files according to your needs. So demo-construction.html becomes index.html, and other as you need.

  2. This is not included by default since this is meant only for the Live Previews. You will need to manually include a Custom Solution for this. Consider using the following JS codes to create a Custom Solution for Colors:
    [ch_pre type="js"]const cnvsHEXtoRGBA = hex => {
    let c;
    if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)){
    c= hex.substring(1).split('');
    if(c.length==3){
    c= [c[0], c[0], c[1], c[1], c[2], c[2]];
    }
    c= '0x'+c.join('');
    return [(c>>16)&255, (c>>8)&255, c&255].join(',');

    }
    console.log('Bad Hex');
    };

// To change Colors
document.documentElement.style.setProperty('--cnvs-themecolor', elColor);
document.documentElement.style.setProperty('--cnvs-themecolor-rgb', cnvsHEXtoRGBA(elColor));[/ch_pre]

For the OffCanvas, simply use this Bootstrap Component: https://getbootstrap.com/docs/5.3/components/offcanvas/ .

  1. Again, this must be done manually. This is the code for a Blog Post:
    [ch_pre]

         [

attachment
](demos/construction/images/team/4.jpg)



This is a Standard post with a Preview Image

...

			[Read More](#)

[/ch_pre]

and you will need to add this code in the #posts DIV for each New Blog Post.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard