logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$20
CSS Layout and Font Adjustments

Hello,
I wanted to add a static area to the bottom of my homepage using the eStore theme from Elegant Themes: http://www.elegantthemes.com/demo/?theme=eStore. I was able to add a footer area using these instructions: http://wordpress.org/support/topic/how-to-use-the-same-widget-twice?replies=4

However, the text styles for the new footer widget don't match up with the rest of the theme. Any advice on how I might fix that would be greatly appreciated.

Thank you!

Unfortunately, the site in question is hosted on a private server so I cannot provide a URL. I have attached a screenshot of the site.

This question has been answered.

attachment image View Attachment

Anne Shenton | 05/24/12 at 9:09am Edit


(4) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    05/24/12
    9:15am
    Arnav Joy says:

    put that text under <h4> </h4> tag

    like <h4> text here </h4>

    • 05/24/12 9:16am

      Arnav Joy says:

      find out following newly added function by you in functions.php

      if ( function_exists('register_sidebar') )
      register_sidebar(array(
      'name'=>'footer_left',
      'before_widget' => '<div id="%1$s" class="widget %2$s">',
      'after_widget' => '</div>',
      'before_title' => '<h3>',
      'after_title' => '</h3>',
      ));



      and change the h3 to h4 like

      if ( function_exists('register_sidebar') )
      register_sidebar(array(
      'name'=>'footer_left',
      'before_widget' => '<div id="%1$s" class="widget %2$s">',
      'after_widget' => '</div>',
      'before_title' => '<h4>',
      'after_title' => '</h4>',
      ));

    • 05/24/12 12:59pm

      Anne Shenton says:

      Hey Arnav,
      I tried this and there was no change.

  • avatar
    Last edited:
    05/24/12
    9:17am
    Charles Klycinski says:

    I bet the theme use cufon fonts of some webfont from google so you need to figure out what tags use those custom fonts and use it in a footer. For example check all H tag <h1> <h2> <h3> <h4> tags

  • avatar
    Last edited:
    05/24/12
    1:41pm
    Agus Setiawan says:

    hi, use this :

    <cufon class="cufon cufon-canvas" alt="Test" style="width: 106px; height: 24px; "><canvas width="126" height="25" style="width: 126px; height: 25px; top: -2px; left: -1px; "></canvas><cufontext>Test Writing Text</cufontext></cufon>


    hope this help.

    thanks.

    in this file : /includes/scripts.php

    Previous versions of this answer: 05/24/12 at 1:41pm

    • 05/24/12 1:02pm

      Anne Shenton says:

      Where should I post this? In the CSS or one of the PHP files?

  • avatar
    Last edited:
    05/24/12
    9:43am
    Daniel Yoen says:

    hello,
    find this line, maybe in functions.php or custom-functions.php
    ----
    <script type="text/javascript">

    //<![CDATA[
    Cufon.replace('#featured span.tag',{textShadow:'1px 1px 0px rgba(0,0,0,0.4)'})('h3#deals-title')('#content span.tag',{textShadow:'1px 1px 0px #131212'})('h4.widgettitle',{textShadow:'1px 1px 0px #ffffff'})('ul#secondary-menu li a strong',{textShadow:'1px 1px 0px #1d1d1d'})('span.price-single',{textShadow: '1px 1px 1px rgba(0,0,0,0.4);'})('.addto-cart',{textShadow: '1px 1px 1px rgba(0,0,0,0.4);'})('.wp-pagenavi span.current')('.wp-pagenavi a.page');
    Cufon.set('fontFamily', 'Raleway');

    Cufon.replace('.description h2.title')('.item-content h4')('.product h3')('.post h1')('.post h2')('.post h3')('.post h4')('.post h5')('.post h6')('.related-items span');
    //]]>
    </script>


    Replace with :
    ---
    <script type="text/javascript">
    //<![CDATA[
    Cufon.replace('#featured span.tag',{textShadow:'1px 1px 0px rgba(0,0,0,0.4)'})('h3#deals-title')('#content span.tag',{textShadow:'1px 1px 0px #131212'})('h4.widgettitle',{textShadow:'1px 1px 0px #ffffff'})('ul#secondary-menu li a strong',{textShadow:'1px 1px 0px #1d1d1d'})('span.price-single',{textShadow: '1px 1px 1px rgba(0,0,0,0.4);'})('.addto-cart',{textShadow: '1px 1px 1px rgba(0,0,0,0.4);'})('.wp-pagenavi span.current')('.wp-pagenavi a.page');
    Cufon.set('fontFamily', 'Raleway');

    Cufon.replace('.description h2.title')('.item-content h4')('.product h3')('.post h1')('.post h2')('.post h3')('.post h4')('.post h5')('.post h6')('.related-items span')('.widget h3');
    //]]>
    </script>

    hope this help. :)

    Previous versions of this answer: 05/24/12 at 9:43am

    • 05/24/12 1:02pm

      Anne Shenton says:

      Hey Daniel,
      These lines don't appear in functions or custom function php.

    • 05/24/12 1:18pm

      Daniel Yoen says:

      this script located in /includes/script.php

      starts at line 11

      hope this help. :)

      Daniel

    • 05/24/12 1:19pm

      Daniel Yoen says:

      Sorry,

      I mean /includes/scripts.php

    • 05/24/12 1:24pm

      Anne Shenton says:

      That works! Thanks!!!

This question has expired.



Gabriel Reguly, Anne Shenton voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.