Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 02-16-2011, 09:30 PM
risestar risestar is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 4.1.2 mobile style customizing?

I just upgraded to the 4.1.2 and am trying to make a few changes to the mobile style, mostly the colors of the category header bars and a few other things, however changing the stylevars of the mobile does not seem to affect the mobile style at all.

What are the stylevars for the mobile style for the category background in the mobile forumhome and forumdisplay?
Reply With Quote
  #2  
Old 02-16-2011, 09:36 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I'm about to update my test site tonight and have a job related to the new mobile style so if I remember to, I'll come back and post for you otherwise someone who has been tinkering with it already might be able to assist before I can .
Reply With Quote
  #3  
Old 02-17-2011, 02:52 AM
risestar risestar is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it looks likes its hard coded in the /forum/clientscript/jquery/jquery.mobile-1.0a2.min.css file

But the file is a mess and I can't really make heads or tails of it, its similiar to the jquery one http://code.jquery.com/mobile/1.0a3/...bile-1.0a3.css

but I can't tell where to edit. I want to change the category background colors from that light blue one to another color.
Reply With Quote
  #4  
Old 02-17-2011, 03:15 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by risestar View Post
Well it looks likes its hard coded in the /forum/clientscript/jquery/jquery.mobile-1.0a2.min.css file

But the file is a mess and I can't really make heads or tails of it, its similiar to the jquery one http://code.jquery.com/mobile/1.0a3/...bile-1.0a3.css

but I can't tell where to edit. I want to change the category background colors from that light blue one to another color.
According to firebug, it is this:
HTML Code:
.ui-bar-b {    background: -moz-linear-gradient(center top , #81A8CE, #5E87B0) repeat scroll 0 0 #5E87B0;    border: 1px solid #456F9A;    color: #FFFFFF;    font-weight: bold;    text-shadow: 0 -1px 1px #254F7A;}
Reply With Quote
  #5  
Old 02-17-2011, 04:08 AM
risestar risestar is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, that's the one, you need to change all the colors in that css variable as there are declarations for different browsers.

Well the mobile style is nice looking but it gets an F for customizable. VBulletin needs to integrate the stylevars into it properly.
Reply With Quote
  #6  
Old 03-07-2011, 11:51 AM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, How do I? Can someone please provide the steps to getting there. I can not seem to find it...aahh an Newbie after a year still learning and customizable of colors would be nice.


Edit: dang someday I will figure this out...How do I get here. I think I need a map.

HTML Code:
.ui-bar-b {    background: -moz-linear-gradient(center top , #81A8CE, #5E87B0) repeat scroll 0 0 #5E87B0;    border: 1px solid #456F9A;    color: #FFFFFF;    font-weight: bold;    text-shadow: 0 -1px 1px #254F7A;}
Reply With Quote
  #7  
Old 03-09-2011, 08:12 PM
risestar risestar is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you just have to open the file with a word editor and change the hex color values to whatever you want. It is a gradient so you have an upper and lower color and it mixes them together to create a custom gradient color.
Reply With Quote
  #8  
Old 03-09-2011, 10:03 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthread.php?p=2171633
https://vborg.vbsupport.ru/showthread.php?p=2171623

Last one is a new article, it has not been approved yet so if you have no permission to view atm check back later on tonight etc, once approved you'll be able to view .
Reply With Quote
  #9  
Old 05-13-2011, 11:09 AM
ajmboy ajmboy is offline
 
Join Date: Aug 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edited everything in /forum/clientscript/jquery/jquery.mobile-1.0a2.min.css

One issue I am running into is using google adsense for high end mobile devices. I added it under the navbar and it shows on the forum home page, but locks up the page if you go any deeper in, forums, topic pages, etc.

I think this is a conflict with jquery for mobile. I've asked support, they said to try th eliteral tags, but that didn't work. Looks like vb is using http://jquerymobile.com/

Anyone else have problems adding adsense? Similar issue found here: http://forum.jquery.com/topic/google...ax-transitions
Reply With Quote
  #10  
Old 07-19-2011, 06:25 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Subscrizzle.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04260 seconds
  • Memory Usage 2,245KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete