Results 1 to 4 of 4

Thread: Specifying a custom viewport meta element in a Child Theme

  1. #1
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts

    Specifying a custom viewport meta element in a Child Theme

    I would like my child theme to have a different viewport meta element than that which is hard-coded in the ClassiPress wrapper.php file. I would like to override it without making (and, thus, maintaining) a copy of wrapper.php. I would like to do it, for example, in my child theme's functions.php file; but I don't know how. Do any of you?

    The ClassiPress default is:
    HTML Code:
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    I would like for my child theme to use this:
    HTML Code:
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    Maybe the dev can squeeze this capability into CP 3.3.1.

  2. #2
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,497
    Thanks
    75
    Thanked 553 Times in 502 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


  3. #3
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,497
    Thanks
    75
    Thanked 553 Times in 502 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A new Custom child theme for jobroller
    By spartac in forum Showcase & Feedback
    Replies: 16
    Last Post: March 23rd, 2015, 07:42 AM
  2. Style Custom Fields without Child Theme?
    By naikmichel in forum Vantage General Discussion (Legacy)
    Replies: 3
    Last Post: June 27th, 2013, 09:21 PM
  3. [SOLVED] Child Theme or Custom.css?
    By automatedkid in forum Help Using Clipper
    Replies: 1
    Last Post: April 21st, 2013, 10:28 PM
  4. Child Theme & Custom Colors?
    By jobcrusher in forum Report Vantage Bugs (Legacy)
    Replies: 3
    Last Post: November 19th, 2012, 09:50 PM