• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Agency Pro – integrating pricing table from Centric theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Agency Pro – integrating pricing table from Centric theme

This topic is: not resolved

Tagged: agency pro, centric, Pricing table

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 2 months ago by Marcy.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 11, 2014 at 2:41 pm #134225
    marcomancosu
    Member

    Hi,

    I'm trying to integrate the pricing table from the Centric theme in my website http://www.digitalmarketingservices.ie, which is now using the theme Agency Pro (this website is new and in progress, so please do not mind all its issues - I'll fix them soon - hopefully).

    I was able to get the table and to format it using the css, but I see two problems:
    A the pricing table is not responsive, in particular on mobile screens.
    B) the 2nd column (in the middle) is supposed to be higher than the right and the left columns (this is how it is in Centric), but it's not in my page.

    The table is visible in this post: http://www.digitalmarketingservices.ie/web-design/

    This is what I did:
    1) I added the following code to my style.css (I copied this exact code from the style.css file of the Centric theme):

    .pricing-table {
    	color: #2e2f33;
    	line-height: 1;
    	text-align: center;
    }
    
    .pricing-table .one-third {
    	background-color: #fff;
    	border: 2px solid #000;
    	margin: 0 -2px;
    	padding: 40px;
    }
    
    .pricing-table .one-third:nth-child(3n+1) {
    	clear: both;
    	margin: 20px 0 20px 2.564102564102564%;
    }
    
    .pricing-table .one-third:nth-child(3n+3) {
    	margin: 20px 2.564102564102564% 20px 0;
    }
    
    .pricing-table .price-heading {
    	border-bottom: 2px solid #2e2f33;
    	margin: -40px -40px 40px;
    	padding: 40px;
    }
    
    .pricing-table .price-title {
    	font-weight: 300;
    	letter-spacing: 2px;
    	text-transform: uppercase;
    }
    
    .pricing-table .price {
    	text-transform: uppercase;
    }
    
    .pricing-table .amt {
    	font-size: 80px;
    	line-height: 0.8;
    }
    
    .pricing-table .sup {
    	vertical-align: top;
    	font-weight: 700;
    }
    
    .pricing-table .sub {
    	vertical-align: bottom;
    	letter-spacing: 2px;
    	font-weight: 700;
    }
    
    .pricing-table ul {
    	margin-bottom: 30px;
    }
    
    .pricing-table li {
    	border-bottom: 1px solid #e5e5e5;
    	margin-bottom: 10px;
    	padding-bottom: 10px;
    }

    I also added this to the "@media only screen and (max-width:782px) {" section of my style.css file:

    	.pricing-table .one-third,
    	.pricing-table .one-third:nth-child(3n+1),
    	.pricing-table .one-third:nth-child(3n+3) {
    		margin: 0;
    	}

    as this was the place where the above lines were in the Centric style.css file.

    2) Then, I added this code to my post:

    <div class="pricing-table">
    <div class="one-third first">
    <div class="price-heading">
    <h4 class="price-title">WEBDESIGN BASIC</h4>
    <div class="price">
    <span class="sup"> from €</span>
    <span class="amt">123</span></div>
    </div>
    <ul>
    	<li>Premium Genesis theme included</li>
    	<li>3-5 pages</li>
    	<li>add on SEO start up package</li>
    </ul>
    <a class="button" href="http://www.digitalmarketingservices.ie/contact/">Get
    Webdesign Basic</a>
    
    </div>
    <div class="one-third">
    <div class="price-heading">
    <h4 class="price-title">WEBDESIGN PRO</h4>
    <div class="price"><span class="sup">€</span>
    <span class="amt">456</span></div>
    </div>
    <ul>
    	<li>Premium Genesis theme included</li>
    	<li>5-20 pages</li>
    	<li>SEO start up package included</li>
    </ul>
    <a class="button" href="http://www.digitalmarketingservices.ie/contact/">Get
    Webdesign Pro</a>
    
    </div>
    <div class="one-third">
    <div class="price-heading">
    <h4 class="price-title">WEBDESIGN ECOMMERCE</h4>
    <div class="price"><span class="sup">€</span>
    <span class="amt">789</span></div>
    </div>
    <ul>
    	<li>Full eCommerce website</li>
    	<li>5-20 pages</li>
    	<li>SEO start up package included</li>
    </ul>
    <a class="button" href="http://www.digitalmarketingservices.ie/contact/">Get
    Webdesign eCommerce</a>
    
    </div>
    </div>

    I got this code from the Centric setup page: http://my.studiopress.com/setup/centric-pro-theme/, in How to Configure the Home Section 4 Widget Area.
    I just modified a few things of this code, changing the text and removing the span class sub which I didn't need.

    As the pricing table was not responsive, I also tried following this instructions: https://www.nutsandboltsmedia.com/how-to-add-a-widget-area-to-a-page-using-genesis/.
    I created the widget area for a specific page (not the above post). Then, I added the code from the Centric setup page to the new widget area using a text widget, but the pricing table is still NOT responsive.

    Could you please help me to understand how to fix the above problems?
    Thanks a lot

    http://www.digitalmarketingservices.ie
    January 15, 2015 at 11:32 pm #137632
    Marcy
    Participant

    You can do one of two things at the smaller screen size where the ecommerce button pops out of the box.
    1. Reduce the text size and maybe the left and right padding. Your content is just too large for your boxes.
    2. You can make the boxes go to 100% width at that media query size.

    The second thing about the last box being too tall compared to the center box on desktop sizes is also the same problem; your content is too large in the last boxe, and is making the box larger. Maybe just have ecommerce on the button or use smaller text for that button.


    Marcy | Amethyst Website Design | Twitter

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble