fbpx
Press "Enter" to skip to content

How to place a Canadian flag on your WordPress website!

Home Forums Troubleshooting How to place a Canadian flag on your WordPress website!

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1163
    Salman Shuaib
    Keymaster

    1. Save your country’s flag on your computer from Wikipedia.
    2. Upload the flag to your Media library, and copy the URL.
    3. Download and Activate the Plugin “Insert Headers and Footers” from WPBeginner.
    4. Put the following HTML code in the Footer of the “Insert Headers and Footers” plugin:

    {img src=”[URL]” alt=”Canada flag icon” style=”width:40px;height:20px;” class=”flag-center”}
    NOTE: Replace the squiggly brackets with angled brackets for image tag.

    5. Put the following CSS in Appearance/Customize/Additional CSS:

    .flag-center
    {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    6. Happy Canada Day.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Canada flag icon Canada flag icon Pakistan flag icon

Privacy Policy

Terms and Conditions

Disclaimer

About Us

Contact Us

Company Philosophy