Audio_Video_Media
Audio_Video_Media Recent Posts Threads Started
11 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Georgia
  • Has been a member for 1-2 years
Audio_Video_Media says

Hi Everybody, i am developing my first wp blog theme and have question about $content_width, cant figure it out how much max value i should give ..,

My layout is very similar to this site http://que-demo2.elasticbuilder.com/?p=464, (responsive layout) as you can see if you resize browser till 5000px width content will be resized as well, so what does it means? it doesn’t have content width value? or it has and it more than 5000px? maybe 10 000px? or???

I want to get same result but cant figure out what max value i should give to $content_width = ????;

Please give some recommendations what should i do?

Thanks..

3448 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

^ The code written below can be found in any of my themes:

   // Define content width (stupid feature, this theme has no width)
   if( ! isset( $content_width ) ) {
      $content_width = 940;
   }

:D

Audio_Video_Media
Audio_Video_Media Recent Posts Threads Started
11 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Georgia
  • Has been a member for 1-2 years
Audio_Video_Media says

Thanks for reply.

In my case my layout is responsive and If i set e.g $content_width = 3700; its ok? my theme will not be rejected for that?

Audio_Video_Media
Audio_Video_Media Recent Posts Threads Started
11 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Georgia
  • Has been a member for 1-2 years
Audio_Video_Media says

^ The code written below can be found in any of my themes:
   // Define content width (stupid feature, this theme has no width)
   if( ! isset( $content_width ) ) {
      $content_width = 940;
   }
:D

I found one of your themes http://demo.krownthemes.com/huge/motion/self-hosted-video-2/ , my theme is similar like your theme , So In this theme you using $content_width = 940;?

3448 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

yes

by
by
by
by
by
by