Skip to main content

HOW TO INSERT CODEBOX IN BLOGGER POST

              Blogger is the best free and trustworthy platform for blogging. Blogger is a reliable and easy way to launch your blogging passion. it is difficult to customise blogger blog as compared to other platforms like Wordpress, Wix, Joomla etc but there are some tricks that let you customise your blog by editing Html. 


   Here, in this blog post, I will show you how to add code box in blogger posts. Code box creates a separate text box with different colour and font and separates it from other text on the blog. Thus lets visitors easily find the code they want. let us start with step 1.


Also Read: Top 5 Free Blogger Templates To Create A Beautiful Blog 2020



blogger code box, how to add codebox in blogger, codebox


    Step 1: Go to Blogger Template and click the customise button present at the left, below the preview of your template.



customise blogger template,
www.3ptechies.com






Step 2: Go to advance and then Add Custom CSS or add CSS. Paste the code given below in the code box.

add custom css in blogger
https://blog.bthemez.com/solve-blogger-layout-problem/




.code { background:#f5f8fa; background-repeat:no-repeat; border: solid #5C7B90; border-width: 1px 1px 1px 20px; color: #000000; font: 13px 'Courier New', Courier, monospace; line-height: 16px; margin: 10px 0 10px 10px; min-height: 16px; overflow: auto; padding: 28px 10px 10px; width: 90%; } .code:hover { background-repeat:no-repeat; }
                              (or)

In some cases, you would not be able to add custom CSS. You can do it by editing your template HTML.

1. Goto your blog template and click edit template.


edit html in blogger template



2. Search custom CSS by using "Ctrl+f" function



custom css in blogger blog



3. Place the above code from step 2 below "Custom CSS here".



Step 3: Go to your post in which you want to add code box and put the given below code in the HTML area. For adding Html, click the HTML button at the top of the post. Now replace here is your code with the code you want to put in your blog post. 


<div class="code">
here is your all code
</div>

how to add code box in blogger

     
   This tutorial was a little bit of blog customisation, in the next tutorials, I will discuss some other customisation that will take your blog to the next level. If you face any problem while doing the operations, ask me in the comments box below. I will try to help you as soon as possible.
Regards.............NaSyx

Also Read: TOP 5 WAYS TO MAKE MONEY ONLINE IN 2020 

Comments

Popular posts from this blog

Stranger Things S4 All Episodes Free download

If you get Redirected to any other website after clicking the download link then there is another download link available in comment section or you can simply try below link and when you get Redirected to another website simply hit back button and click it again untill the link opens in telegram Click here to download

Underwater 'alien spaceship' or 'Nazi bunker' able to block sonar mystifies boffins

  Scientists are mystified at this odd item on the ocean floor, with a number of theories circling  (Image: Youtube) Scientists  have found themselves stumped by what appears to be an " alien  spaceship" or " Nazi bunker " deep under the waves of the Baltic Sea. Marine explorers identified a structure in the sea between Sweden and Finland but over a decade on from the discovery boffins still find themselves mystified at what it could be. Sonar images found the underwater anomaly that appears to show an underwater structure, which has confused experts who are not quite sure what the Baltic Sea Anomaly is,  The Mirror  reported. Featuring a strange "1,000-foot long runway" and a strange object that appears to have slid across it, the Baltic Sea Anomaly has seen divers take closer looks. What was found below by the divers were steps and compartments, the potential for tunnels and passageways beneath the surface of the unknown object and an ability for the obj...