Basic CSS codes for your Blogger/site
It is easy to change the name of a widget, but how about changing the name or writing of anything? To start, you need to find out the item's name, as I described above.
Once you have the item's name, simply add the following code into your CSS box:
.name-of-item {visibility: hidden;}
.name-of-item :before { visibility: visible; content: "YOUR TEXT HERE"; color: #000000; }
You'll have to change what I have highlighted with your own item/text.
Change 'Showing posts with the label' text CSS
One particular text that I struggled changing was the 'Showing posts with the label' text.
The way you can change that text, is by writing the following in your CSS box (you may have to see what your CSS item is called, you can learn how to do that by visiting this part of the page):
.post-filter-message { background-color: #999793 } .post-filter-message .message-container {visibility: hidden;} span.search-label {visibility: visible;} .post-filter-message .message-container:before { visibility: visible; content: "YOUR TEXT HERE"; color: #000000; }
You'll have to change what I have highlighted with your own text.
Please keep in mind that hiding still keeps the space there, there will be a blank space where the item use to be.
So now you have a rough idea what the name is, enter that name in your CSS box, next to that name, you need to enter the following code:
{visibility: hidden;}
Your code should look something like this
.Navmenu {visibility: hidden;}
Deleting an item is different than hiding it, the space will be completely gone. Again, as you have a rough idea of what the name is, enter this code after the name.
{display: none;}
How to change the color of an item CSS
With the name as always, next to the name, enter this code {background-color: } and here comes the tricky part, the computer needs to know what the colour is, so to find this out, you need to right click on a colour on your website, inspect, and you should see colour wheels. Click that and choose a colour. It should say something like #383633, put that number next to your code, your code should look something like this:
{background-color: #383633;}
Remember to put a ; symbol after the number!
How to centre align your blog's widgets CSS
Simply add this code to your CSS box (you may have to see what your CSS item is called, you can learn how to do that by visiting this part of the page):
.widget { text-align: center; }
{border: 5px solid black;}
{outline-style: solid; outline-color: white; outline-width: 50px;}You can change the colour of your outline in bold to the colour of your posts and change the size in bold to fit your needs.
If you find it is your text/images going off the page, highlight all of it and press this button, bare in mind that it may make your links not work:{max-width: 100%;}
{background-color: black !important;}
To curve corners is a simple CSS. Simply include the following:
{border-radius: 25px;}
Change the number in bold to how much you want it curved, bare in mind it will cover content.
Don't forget to save your edits!
I recommend visiting HTML and CSS codes for your Blogger next.
I do hope you've found something useful from this page. Leave me a comment below if something isn't working right! Thank you!
I'd love feedback about this Blog's coding series. Feel free to leave me some!
ReplyDelete