Results 1 to 1 of 1

Thread: Sorry this was the answer to someone wanting to change currency etc

  1. #1
    Thread Starter
    Expired Customer johnstewart's Avatar
    Join Date
    Sep 2014
    Location
    UK
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sorry this was the answer to someone wanting to change currency etc

    Thus you answer to someone wanting to change things like currency

    Creating Child Themes for Vantage: Getting Started and Styling? (child themes? the punters should do child themes? are you joking?? I hope so)

    the following must be a joke, surely

    this is their answer to a question


    This is Vantage, really! Restyled using only a child theme with CSS changes.

    Want to customize Vantage to fit your needs? This is the place to start. If you plan to make any modifications to Vantage, you should always do it with a child theme. Never modify the code in the theme folder. It will almost always result in problems in the future.

    This tutorial will show you how to create a simple child theme for Vantage. With the steps outlined below, you will be able to change the look and feel of Vantage by modifying styles. It will also get you prepared for making more advanced customizations which will be covered in other tutorials.

    To create even the simplest child theme, you should have a basic understanding of HTML and CSS. You should also know how to add files to your hosting site. If you can handle that, then you’re ready for this tutorial.

    Creating a Child Theme

    In the themes folder (/wp-content/themes), create a new folder named ‘vantage-child’ or a name of your choice.
    Inside the new child theme folder, create a CSS file named ‘style.css’.
    Add the following header to the child theme ‘style.css’:
    /*
    Theme Name: My Vantage Child Theme
    Version: 1.0
    Description: A child theme for Vantage, the premium business directory theme for WordPress.
    Author: Your Name
    Author URL: http://www.your-url.com
    Template: vantage
    */
    The most important line here is “Template: vantage”. It tells WordPress that Vantage is the parent for your child theme. After ‘Template:’ you must add the name of the parent theme – in this case ‘vantage’. The theme name is case-sensitive and should be all lowercase.

    Add the following line to the child theme ‘style.css’, after the header:
    @import url("../vantage/style.css");
    This is the path to the Vantage style sheet. In our example, we are using a relative path. If you’re using another path/name, change it accordingly.

    Next add the following line to your child theme style sheet:
    @import url("../vantage/styles/blue.css");
    This is the path to the Vantage color style sheet. Vantage has eight color style sheets (blue, gray, green, navy, orange, pink, purple and red). You can replace “blue” with any other color. Just as above, we are using a relative path. If you’re using another path/name, change it accordingly.

    A quick review
    First, we created the child theme folder and a ‘style.css’ with a special header that informs WordPress about the theme parent name. Then, we imported both the main Vantage style sheet and one color style sheet.

    Some additional notes
    Creating a child theme automatically disables the main Vantage style sheet. If you do not use “@import” to import the main Vantage style sheet, your Vantage site will be completely unstyled. You can see what that looks like here. Also, if you do not include the color style sheet, several color-based elements will remain unstyled.

    Not importing the main style sheet or the color style sheet can be useful. If you are creating a whole new look for Vantage, you probably want to start from scratch. In that case, it might be best to import nothing.

    Finally, since the presence of a child theme disables the Vantage style sheets, you will not be able to change colors within the Vantage settings in wp-admin.

    Styling Vantage

    To make style changes, first you need to identify the CSS classes used through out Vantage. We suggest using the tools available on current browsers like Chrome or Firefox HTML inspectors. They allow you to inspect any HTML element and see its classes and attributes.

    We also have written the style sheet with a table of contents, clearly defined sections and plenty of notes. Take a look at the style sheet to see how we have done this. We did our best to make it as easy as possible.

    Once you become familiar with id’s and classes in Vantage, you’ll be able to control anything you want. Let’s go through some examples.

    Fonts
    Perhaps you don’t like serif fonts and you want to change that. Easy, we’ll start by modifying the body tag your child theme CSS.

    body {font-family: Georgia, "Times New Roman", Times, serif;}
    You can see in the before screenshot, that almost everything is sans-serif. After adding our style above, we now have serif fonts everywhere with some exceptions. We could go a little further and add styles for headlines and more. It’s just a matter of locating the styles and modifying them.

    Background
    The background in Vantage is a bit different. It’s not styled in the body alone. We have broken it into two pieces separated by a rule line. The top part of the background is styled with the body. The bottom part is styled with id=”content”. Here is the CSS for both:

    body {background: #E4E4E4 url('images/header-bg.png') repeat-x 0 0;}
    #content {background: #FAFAFA url('images/content-bg.png') repeat-x 0 0;}
    Getting rid of the bottom part of the background might be the most obvious change. We can do that by adding the following line to your child theme style sheet.

    #content {background: none;}
    You can see that the rule line is gone and the body background extends the full height of the page. You could now modify the body style or you could even change the background via the admin appearance settings.

    More to Come

    These are just a couple of style modifications to get you started. You could create as many styles as you please. We’ll post more tutorials that will help you modify and create changes to other elements of Vantage.

    Also, we will have more tutorials that show you how to make more complex but useful modifications to Vantage using child themes. Until then, have fun and happy styling.

    Like this tutorial? Subscribe and get the latest tutorials delivered straight to your inbox or feed reader.

    Is that not ridiculous: surely that code should be built in already? no disrespect meant, I am not impressed, you expect theme buyers to know about child themes?

    If you coded it correctly in the first place--no need to make your buyers go into technical wizardry

    could I have my money back, this is the reason, incomplete delivery, expecting purchasers to edit PHP files??

    I am a warrior forum guru under another name, I am sorry, this...well I wont swear, say no more

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dimitris Change currency, change registration form, profile image
    By abdulgeorge in forum Help Using HireBee
    Replies: 3
    Last Post: July 15th, 2014, 09:13 AM
  2. Change currency, change registration form, profile image
    By abdulgeorge in forum HireBee General Discussion
    Replies: 0
    Last Post: July 1st, 2014, 05:42 PM
  3. Replies: 5
    Last Post: August 4th, 2011, 11:32 PM
  4. Wanting to hide price tag's with no value
    By citydealz in forum ClassiPress General Discussion
    Replies: 1
    Last Post: April 29th, 2011, 10:18 AM