របៀបលាក់ Widget Sidebar នៅក្នុងប្លុកទំព័រអត្ថបទ

ខ្ញុំបាទ Mr. Asvadek ថ្ងៃនេះសូមលើកយកពីវិធីសាស្រ្តក្នុងការ លាក់ Widget sidebar នៅក្នុង Blogger ឲ្យបានដឹងទាំងអស់គ្នា។ គោលបំណងនៃអត្ថបទនេះ ចង់ឲ្យអ្នកប្រើប្រាស់ Blog បានជ្រៀបកាន់តែច្បាស់ជាមួយរបៀបលាក់ មួយនេះ ហើយ របៀបលាក់នេះ មាន២ របៀប សំខាន់ៗ នៅក្នុងអត្ថបទយើងថ្ងៃនេះ៕ ឧទាហរណ៍មួយ៖ នៅក្នុងអត្ថបទមួយ គឺខ្ញុំបានដាក់វាជា Page post ១ ហើយខ្ញុំមិនចង់ឲ្យវា ឃើញ Sidebar រឺ Widget នៅខាងស្ដាំ Blog របស់ខ្ញុំទេ គឺចង់ឲ្យវា​មានលក្ខណៈេពញមួយអត្ថបទតែ ម្ដង ម៉្យាងទៀតពេល ប្រើលើទូរស័ព្ទទៅវាមើលឃើញស្អាតផង តែ  Widget នេះយើងលាក់វាបានតែនៅក្នុង អត្ថបទតែប៉ុណ្ណោះព្រោះថាយើងលើកយកប្រធាននេះឡើង តែ១ប៉ុណ្ណោះ។ 
តោះចាប់ផ្ដើមជាមួយខ្ញុំបាទឥលូវនេះ៖

ជំហានទី ១៖  ត្រូវចូលទៅក្នុងគណនី Blogger របស់អ្នកទាំងអស់គ្នាជាមុនសិន។ (មើលការណែនាំ)
 Step1: Go to Dashboard > Theme > Edit Html

ជំហានទី ២៖  ត្រូវចូលទៅក្នុងប្រអប់ Edit Html រួចស្វែងរកនូវ កូដ១ឈ្មោះថា </b:skin> ហើយចម្លងកូដខាងក្រោមដាក់ពីក្រោមវា។  
(ដើម្បីស្វែករកកូដខាងលើបាន យើងត្រូវ ចុច Ctrl+F)

ត្រូវជំនួស កន្លែង Highlight in Your Link  ដាក់ Link Address គេហទំព័ររបស់អ្នកដែរចង់បិទឬលាក់


<b:if cond='data:blog.url == "https://YourBlog.blogspot.com/p/bla-bla.html"'>
<style>
.main-inner .columns {
padding-left: 0px !important;
padding-right: 0px !important;
}
.main-inner .fauxcolumn-center-outer {
left: 0px !important;
right: 0px !important;
}
.main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
display: none !important;
}
</style>
</b:if>


    បញ្ជាក់៖ អ្នកអាចដាក់ Link ច្រើនបានគ្រាន់តែ Copy កូដដាក់ពីក្រោមវាតែប៉ុណ្ណោះ !

    នេះជាកាដូរថែមពី Admin
    If you want to apply the tweak to all of your pages, instead of addressing the page one by one, use the following code:

    <b:if cond='data:blog.pageType == "static_page"'>
    <style>
    .main-inner .columns {
    padding-left: 0px !important;
    padding-right: 0px !important;
    }
    .main-inner .fauxcolumn-center-outer {
    left: 0px !important;
    right: 0px !important;
    }
    .main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
    display: none !important;
    }
    </style>
    </b:if>
    

    o apply the tweak to all your post-pages (the page that opens when you click on the title of your post), which might not be a good idea, use the code below:

     
    <b:if cond="data:blog.pageType == &quot;item&quot;">
    <style>
    .main-inner .columns {
    padding-left: 0px !important;
    padding-right: 0px !important;
    }
    .main-inner .fauxcolumn-center-outer {
    left: 0px !important;
    right: 0px !important;
    }
    .main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
    display: none !important;
    }
    </style>
    </b:if>
    
    ជួបគ្នានាអត្ថបទក្រោយទៀត


    រៀបរៀងអត្ថបទដោយ: លោក អាស្វាដែក

    EmotionEmotion

    :)
    :(
    hihi
    :-)
    :D
    =D
    :-d
    ;(
    ;-(
    @-)
    :P
    :o
    -_-
    (o)
    [-(
    :-?
    (p)
    :-s
    (m)
    8-)
    :-t
    :-b
    b-(
    :-#
    =p~
    $-)
    (y)
    (f)
    x-)
    (k)
    (h)
    (c)
    cheer
    (li)
    (pl)
    (s)