Thứ Bảy, 2 tháng 4, 2016

Styling a Table with css: Styling the table body


Now we're gonna target the body area of the table, which is gonna start up here with Mercury and go all the way down to the moons of Neptune, so all of these elements inside of here. So, back in our CSS, let's come in here and copy the table#planets. Let's paste that down here, then hit a space. Then, we'll type tbody. Put in our brackets. First thing we'll do is lower the font size just a little bit. So, we'll type font-size .9em's, so that'll be 10% smaller than the base font.
Then, a space. Then, line-height, we're gonna set this down to 15 pixels. And now, the next thing I wanna do is add a rule in-between all of the individual rows. So, what we'll do is target the table row element inside of the table body. So, on the next line, let's paste in our table#planets, tbody, then a space. Then, we'll target the table row, so tr. Put in our brackets. The property we're gonna set here is going to be border-top, so border-top, colon space.
We use short-hand style here, which starts with the width, so that's one pixel, then a space. The style's gonna be solid, then a space. And for the color, we'll use the the rgba color space, so rgba, put in your parentheses, semicolon. Inside of here, I wanna create a semi-transparent tan color. So, for the red property, we're gonna set this to 248, then a comma, 220 for green, comma, 174 for blue, comma, and then, .8 for the alpha.
So that's 20% transparent. And now, to space out the rows, we're gonna target the table data element inside of the table body. So, next line, paste in table#planets, table body, then a space. Then, we'll target the td element, put in our brackets. And then, we'll come in here and set a padding property of 12 pixels, which will put 12 pixels of padding on all four sides of each td element. So, once you have these rules in place, save your file, go back to the browser, hit reload.
And so, now with this spacing being added to the individual rows and the body element, we can now see the table's much taller. And this allows us to see more of that background image that we added earlier in the course. So, next, we can focus on the footer area of the table,creating a boundary between the last item, here, which is Neptune, and the footer content, and then, making the footer content much less prominent.

Styling a Table with css: Setting the column widths with nth child


To control the width of the columns in a table, we need to set a width property on either the th or the td, and all of the associated th and td elements in a column will conform to that particular setting. So if we come over here and take a look at the html, inside of our table, inside of our heading area, we have our first cell element, which is th, and if we set a width property here, the next table cell element, which is this td down here for Mercury, will follow the width settings that we assigned to this particular element here.
So back in our CSS file, we can use something called nth-child, so that we can target a particular element in a group without having to add any additional content to our html page. Now the way that the nth-child works is in CSS, we target a group of elements or siblings. In this case, we're looking for the th elements that are inside of a table element with an ID of planets. Now the nth-child pseudo-class has a series of parentheses, and inside of the parentheses, we put a number.
So if we put a number one in here, we're going to target the first child of all of those siblings. And similarly, if we put a number three inside of the parentheses, we would target the third child. So we'll use this technique in our CSS file to target each of the four siblings and assign our width properties. So back in our CSS file, let's come up here and copy this rule, table#planets thead th. Let's copy that. Then we'll paste it down here on the next line.
Then we'll add our pseudo-class of nth-child, so :nth-child. Put in our parentheses. Now inside of the parentheses, we'll type in number one.We're gonna target the first element, and that's going to be this element here with the word planet inside. So that's the first th inside of the thead area. Back in the CSS. Add our beginning and ending brackets. Then inside, we'll set a width property. And just for demonstration purposes, I'm gonna put 50% in here.
So what that will do over here in the preview is allow the very first column of elements to take up 50% of the width of the entire table,leaving the three remaining columns to evenly divide the remaining space. And some will even take up a little bit more room if their content is larger than some of the other elements. So now let's come back to our CSS, and let's change 50% down to 20%. Then let's duplicate this entire line. Let's come in here and change the nth-child to a number two.
We're gonna set the second column to 30%. Let's duplicate this line again. Let's change nth-child(2) to nth-child(3). We're gonna set the width of the third column to 35%, since the label in this particular column is longer than the other ones. And then we'll duplicate this one more time, nth-child(4). And then we'll change the width of the fourth column to 15%. And you can see the results of all of these new widthsin the browser.
So without adding any additional code to our html file, we can use the nth-child feature of CSS to specifically target siblings and create our column widths. And now that we have our columns spaced, next we're gonna start working on the body section of the table.

Styling a Table with css: TH and TD tags


Now we're going to target the table-header elements, and the table-data elements. Now in the browser, you'll notice the top row is showing the type in bold, and is centered. If we take a look at the HTML, we'll see here that this is inside of a table-header element,and we have these th elements here, which stand for table-header, where we see Planet Type, distance from the sun and moons. Having these inside a th, in most browsers will make these bold, and center these elements, as opposed to the content down here, where we see Mercury, for example, which is inside of td elements.
I'll come back up here, turn my preview back on. Now over in my CSS file, what we're going to do first is target all of the th's and td elements, just to make some of the styling more consistent. Let's come up here and copy the table#planets. I'll paste that on the next line down here, hit a space, type th then a comma, space. We're going to paste this again, and then type td. This way, in one CSS rule, we can target all of the th elements, and td elements.
Then a space, we'll put in our brackets, and I simply want to come in here and set text-align to centered. Now over here in the Preview, you'll see that now all of the columns are centered. Now back in the CSS file, I want to create a rule that's going to target specifically the table-header area. Let's paste in table#planets space, thead, put in our brackets. Let's split this open since were going to put a couple properties in here. We're going to start with font-size, we're going to set this to .8mm, next we'll set a line-height, we're going to set this to 12 pixels.
I want to have the line-height match pretty close to the font-size. This way, we can control the spacing when we target the th elements,inside of the thead element. Still inside of the thead element, next line, let's add a background color. We're going to set this to hexadecimal value, so #, we'll type E7 for red, 93 for green, 00 for blue, and then we'll set one more property. That's going to be text-transform, and we're going to set this to uppercase.
Now to control some of this spacing in the header, we're going to target the th elements, inside of the thead element, Let's add another rule after that one, let's paste in our table#planets, then hit a space, target thead, then a space, then th, put in our beginning and end brackets.I'll spit these open, we're going to come in here and set the color of the type, so color: space. We'll use rgba. I want to use a semi-transparent black, so rgba, put in your parentheses, then a semi-colon.
Inside of the parenteses black is going to be specified, with 0 for red, 0 for green, 0 for blue, then another comma, and then we'll set the alpaha to .7, which will give us 30 percent transparent black. Now to give ouselves a little more spacing in that heading area, let's add another property. We'll add padding, we'll set this to eight pixels, which will give us eight pixels on all four sides, and then we'll add one more property. We're going to set vertical-align to bottom.
What this will do is take all of the text in those table-header elements, and align the type to the bottom. If I were to come in here and decrease the width of the browser to the point where the distance from the sun label needs to stack vertically, the alignment of all of the type will be aligned to the bottom. This will keep a consistent spacing between the header elements, and the table data underneath that they represent. Now with the header styled, next we're going to control the width of each column using the nth-child feature of CSS.

Uncode - Creative Multiuse WordPress Theme v1.2 - Free Download

Uncode - Creative Multiuse WordPress Theme
This will, when you hover over it, tell you that padding controls the space around the page. Browser fill, that's what color the background of the browser window is, will draw in this area, and it tells you here that when you choose a different fill color for the page, in the browser fillyou will be able to see the effect most clearly. Uncode - Creative Multiuse WordPress Theme v1.2 UPDATE  on 22/02/2016)  Uncode - Creative Multiuse WordPress Theme is a pixel perfect creative multi purpose beautiful and stylish agencyWordPress Theme that features multiple parallax sections on the home page, and a sleek slide-out main navigation. based on Visual Composer designed with terrific attention to details and performance. If you choose the HiDPI method, you're going to be able to deliver the higher resolution option to those people with higher resolution screens, but as you'll see when I click there, you get a warning that this is going to significantly increase the page load time and the amount of data viewers must download in order to view it.

Uncode v1.2  - Creative Multiuse WordPress Theme UPDATE  (22/02/2016)
INCREASED OVERALL PERFORMANCE
NEW:
- Asynchronous adaptive image system
- Content block for the content of archive pages
- Content block for the header of archive pages
- Featured media for category and custom text for header
- Possibility of use content blocks inside the VC rows
- Single post/portfolio and the breadcrumb navigation logic
- Option for share module on single post/portfolio
- Adjustable active and hover color for menu items
- Adjustable menu font size
- Adjustable submenu font size
- Custom labels for CPT portfolio
- Option to have scroll up arrow in mobile
- Production mode for CSS and JS
- Single products width in the products default template
- Possibility to remove Google Map drag on mobile
- Possibility to remove double tap for the Posts and Media gallery module in mobile
- Error fallback with PHP version minor than 5.3
- Visual preview of the Content Blocks
- Icon picker for icons in menu items
- Single Media lightbox linkage option
- SVG animation delay
- Self-Hosted video, autoplay and loop
- WPML file (wpm-config.xml) for translation of parts of the Theme Options
- Language files (Italian, French, Hungarian)
- Real memory available on the Welcome page
- Custom Post Types support in the Posts module
- Added more media ratio values
- Added possiblity to color the Counter module
- Plugin Visual Composer Clipboard
- Plugin VC Particles Background
FIX:
- Google Maps responsivity
- Full compatibility WPML plugin (WPML official certificate)
- Visibility align options for overlay menu from admin
- Added missing string for translation
- Logo image responsivity
- Redirect page options
- Background image and color when using redirect page
- Uncode slider inside a column
- Sidebar sticky with background
- SVG picking up dimensions when uploaded in the media gallery
- Lightbox correct size when used for the Button and Icon module
- Fontsystem for PHP7
- Demo Import imporvments
- WooCommerce 2.5 compatibility and ajax add to cart
- Portfolio detail links open _blank
- Autosave dynamic CSS after theme update
- I recommend this when clicked disappear number
- Better read measurements for single blog reading time
UPDATE:
- Visual Composer 4.10
- Revolution Slider 5.1.6
- Icon library


Uncode - Creative Multiuse WordPress Theme
Uncode - Creative Multiuse WordPress Theme
We're not going to use padding this time around, and we're not going to use margins either, so set both of those to zero. Under here is probably what I consider to be one of the most important settings, and that's the resolution. Standard or HiDPI. Standard means that you're going to bring images in from other places like Illustrator, Photoshop, or wherever you'vecreated them, and if you're using standard resolution that means it's going to serve up a standard resolution 72 pixel per inch image to everybody that comes to the site.

Home Shop – WooCommerce Theme v1.3


Home-Shop-WooCommerce-Theme
I'll use my arrow keys, I'll move this down a little bit. So I have a little negative space here under the attribution. Then I'll click away. I'll make this box a little bit shorter. And I'm going to come in here into the place holder text, add a period and then an ending quote. And now with this in place, let's zoom out, let's go back to the Layers Panel. I'm going to select all of the layers that are part of the how-to section. Going to hit Command G to Group all of these.
 Home Shop v1.3 – WooCommerce Theme is a e-commerce wordpress theme was update on 11 March 2016 by themeforest. Once you find best Home Shop – WooCommerce Theme, you’ll hit open, and it will automatically be added. 
11 March 2016 – Version 1.3
UPDATED: – DHVC – Woocommerce files – increased tags limit – some widgets – translation for WPML
Home Shop - WooCommerce ThemeHome Shop - WooCommerce ThemeHome Shop - WooCommerce Theme
Home Shop - WooCommerce Theme
Home Shop - WooCommerce Theme
Home Shop - WooCommerce Theme
Home Shop - WooCommerce Theme
So, anytime you need to create a new e-commerce wordpress website, you can do so very easily from this top dropdown box right here.That’s the best e-commerce wordpress theme to do it, and doing it on the master page is also the best place to do it, because that is going to, in turn, allow you to populate that color throughout the entire website. Any page using this master page will adopt that particular setting. So if you ever need to change the browser fill,now you know how to do it.

Chủ Nhật, 13 tháng 3, 2016

Jupiter v5.0.8.1 – Multi-Purpose Responsive Theme get it now


Jupiter - featured img
Jupiter - featured img
Jupiter - featured img
When building a new custom wordpress website , it’s important to start out right. In this post, we’re going to set up the new website with Jupiter – Multi-Purpose Responsive Theme theme, This theme including alot of demo. This theme is a perfect solution for all kinds of businesses from corporations, shop owners and small businesses to startups, artists and bloggers. Jupiter WordPress Theme Developed by an elite author, Artbees currently boasting over 30,000 sales. I always like to start with the metadata to make my freshly downloaded version of underscores truly my own. Now you’ll remember when we first created this new custom theme from Jupiter – Multi-Purpose Responsive Theme 
easy to buildThe theme is simple yet powerful, with highly customizable features with powerful HTML5 technology and impressive, beautiful Parallax visual effects, allowing for amazing static websites and single page websites that are full of features and user interaction, with engaging hovering and scrolling effects as well. With Plugin drag and drop page builder, you can use for creating layout pages with no coding required. Here I will find my custom theme,Jupiter, is currently active, and if I click on theme details, I get all that metainformation.Here I have the screenshot of this Multi-Purpose theme.
50 + style
With over 30,000 active users, Jupiter business wordpress theme gives you the power to create a unique-looking website with an easy-to-use drag and drop page builder that’s fully responsive, retina-ready, and SEO-optimised. On top of that, Jupiter comes equipped with the WooCommerce plugin to help give your business the exposure it needs by opening an online shop. You can also choose from 50+ business website templates as a quick start.

Hotmagazine - News & Magazine WordPress Theme v2.0.2

Hotmagazine - News & Magazine WordPress Theme
Once I do that, let's take a look at some of the things that we have available to us inside of this window.Check out these little arrows that line the side over here on the left. When I hover over this first one, it says Top of the Page, drag to adjust the padding above the page. Hotmagazine - News & Magazine WordPress Theme v2.0.2 by themeforest is a comprehensive Wordpress theme for widespread use. So, basically, if you were to click on this little arrow and drag it down, you can see that you can start to add a little bit of white space at the top of the page, giving it a little bit of breathing room, so that when you stick something inside of the header for instance, it's not right up against the top of the browser window.. It will works good as a News Website, or in categories like: Fashion, Sport, Design, Games Themes, Games, Tech, Technology, Travel, Dark, Politics Magazine or Blog.


Hotmagazine - News & Magazine WordPress Theme

The reason I choose Hotmagazine - News & Magazine WordPress Theme is because I don't know how much space I need up here, not until I get in and actually start designing it. Because only then will I know how much room something needs to breathe. If it's something small, it's not gonna need as much room to breathe because your going to be able to see it pretty easily. If it's something that's large, it's going to need a lot of room to breathe, so that you can really take in exactly what it is. So, in this case, if I were to use a big chunky logo