vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   4.1.2 mobile style customizing? (https://vborg.vbsupport.ru/showthread.php?t=258994)

risestar 02-16-2011 09:30 PM

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?

TheLastSuperman 02-16-2011 09:36 PM

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 :p.

risestar 02-17-2011 02:52 AM

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.

Lynne 02-17-2011 03:15 AM

Quote:

Originally Posted by risestar (Post 2163471)
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;}

risestar 02-17-2011 04:08 AM

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.

Mr_Running 03-07-2011 11:51 AM

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;}

risestar 03-09-2011 08:12 PM

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.

TheLastSuperman 03-09-2011 10:03 PM

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 :cool:.

ajmboy 05-13-2011 11:09 AM

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

8thos 07-19-2011 06:25 PM

Subscrizzle.


All times are GMT. The time now is 12:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01004 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete