Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Friday, August 5, 2016

How To Display Or Hide Website Content On Mobile Devices?

How To Display Or Hide Website Content On Mobile Devices?
If you would like some website content to only show on mobile devices or not show on mobile devices, then following this post. You can do this using CSS. This allows a developer to easily control what sort of content should appear on mobile devices and what to display on desktops. It is also useful for Google Adsense publishers as Google by default allows only three ads on a particular page and if you want to control the positioning of Google Ads separately for desktops and mobile devices, then this method can be used to manage the display as per the device.
Check out the video below:

Read more �
Share:

Friday, July 1, 2016

Customizing Blockquote Style in Blogger/Blogspot Without Background Image

As a blogger, sometimes we want to insert quotes where the text of the quote is placed between double inverted quotation marks. It is good to have quotations stand out from the regular text on the web page. Blogger allows addition of "Blockquote" but the default style is dull. Luckily, we can revamp the Blockquote style using our own CSS code. In this post, we will see some simple customization of Blogger Blockquote without using any external image backgrounds.

What is a Blockquote?
Blockquote is an HTML tag used to define long quotations. According to the W3C HTML5,
Blockquote element represents a section that is quoted from another source.

How to add a quote in Blogger?
To add a quote in Blogger, use the Blockquote tool from the toolbar. Select a text and click the Blockquote or in a new line, click on the Blockquote tool and start typing.


Where to place the CSS code to customize Blogger Blockquote style?
Read more �
Share:

Wednesday, March 6, 2013

How to Locate CSS in Blogger Template

Here on how to locate Cascading Style Sheets (CSS) for the Blogger Template. Beginners try it out!

Classic Blogger:
Between the <style> and </style> tags. The first tag could have more in it like <style type="text/css" media="screen"> so don't let that concern you.

Beta Blogger:
Between the <b:skin><![CDATA[/* and ]]></b:skin>
The first tag is towards the beginning of your template in Classic and Beta Blogger. The style sheet it's self contains a lot of code that looks like this:

Note the "{ }" and the "#". They will be all over the place. That is a tale-tell sign of the CSS style sheet code.

Example of code:

.sidebar {
color: $sidebartextcolor;
line-height: 1.5em;
}

and

#header a {
color:$pagetitlecolor;
text-decoration:none;
}
Share: