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)
-   -   Navtab links (https://vborg.vbsupport.ru/showthread.php?t=325919)

Stratis 12-23-2017 03:14 PM

Navtab links
 
1 Attachment(s)
Hi! can some one put me in correct direction to find how to solve this problem.

This is in vb4.2.0
Attachment 156806


Problem.
This is in vb.4.2.5 (test update)
Attachment 156807

How to fix? I can not find to change the white color to black in text and remove the vertical black lines. Thanks for any help

MarkFL 12-23-2017 03:23 PM

Look in the NavBar section of your stylevars...:)

Stratis 12-23-2017 03:26 PM

Quote:

Originally Posted by MarkFL (Post 2591779)
Look in the NavBar section of your stylevars...:)

I did, many hours of checking and changes, could not find which one it is. I stuck :)
Thanks for answering Mark.

MarkFL 12-23-2017 03:31 PM

It looks like those that begin with "navbar_tab_" are the ones that control the appearance of those tabs. :)

Seven Skins 12-23-2017 03:31 PM

navbar_tab_color
navbar_tab_border

Edit these

Stratis 12-23-2017 03:50 PM

You both answered same time :) Thanks


No luck,
navbar_tab_color is #ffffff
navbar_tab_border is none
Whatever I change does not take effect, many times F5 (no change)


Same values are in both, vb4.2.0 & vb4.2.5, but as the images above they look different.


Is there any way these take effect from any CSS template?
or problem with case?

MarkFL 12-23-2017 03:51 PM

Are you sure you are editing the stylevars for the correct style?

Stratis 12-23-2017 03:53 PM

Quote:

Originally Posted by MarkFL (Post 2591784)
Are you sure you are editing the stylevars for the correct style?

Thanks to remind me, but yes :)

Seven Skins 12-23-2017 03:54 PM

Look in your additional.css template

Stratis 12-23-2017 04:04 PM

1 Attachment(s)
Quote:

Originally Posted by Seven Skins (Post 2591786)
Look in your additional.css template


I copy code from 4.2.0 and same problem.

Something else I miss here, as I see this problem is in all skins

Some images...
vb4.2.0
Attachment 156809

vb4.2.5
Attachment 156808

:confused:

MarkFL 12-23-2017 04:11 PM

It's possible CSS is being added by a plugin...try disabling those and see if the issue is still present...

Stratis 12-23-2017 04:20 PM

Quote:

Originally Posted by MarkFL (Post 2591788)
It's possible CSS is being added by a plugin...try disabling those and see if the issue is still present...


Just did...
define('DISABLE_HOOKS', true);


Nope same situation. I will make some copy paste code from my forum to test forum and see.
I will inform with any luck if I have :)

Seven Skins 12-23-2017 04:23 PM

Try this..

Goto adminCP > Maintenance > general update tools and "Remove Orphan Stylevars"

Stratis 12-23-2017 04:32 PM

"Deleted Orphan Stylevars Successfully."
Did it twice, no change.


I will first try to Rebuild Styles and if no luck I will try the copy-paste code from one to other.
Thank you :)

Seven Skins 12-23-2017 04:46 PM

OK
Are you saving CSS as files or in the database? Move them in database?

Stratis 12-24-2017 10:30 AM

1 Attachment(s)
Quote:

Originally Posted by Seven Skins (Post 2591793)
OK
Are you saving CSS as files or in the database? Move them in database?

Thanks, I tried this but no change.


What I found:
In additional.css I have this.
---------------------------------------
.navbar a { color:{vb:stylevar navbar_link_color}; }
.navbar a:hover { color:{vb:stylevar navbar_linkhover_color}; }


If I change with this code:
---------------------------------
.navbar a { color: #000000; }
.navbar a:hover { color: #FFFFFF; }

Than I have the colors I want, except the vertical lines (I do not find yet)
Attachment 156811

If I change from stylevar the "navbar_link_color" it change both navbar and navbar_tab, see image.
Attachment 156812

* Problem with case, every change I make I must refresh many times to take effect in my browser. (but ok this)
* I do not know why when change in stylevar change both navbar and navtab?
* I am searching to find that vertical lines.

Seven Skins 12-24-2017 10:52 AM

You should remove all the class belongs to navbar (.navbar , .navtab, . navtabs) in additional.css template.

Disable browser caching in .htaccess file for refresh issue.

Stratis 12-24-2017 10:59 AM

Quote:

Originally Posted by Seven Skins (Post 2591801)
You should remove all the class


Can you please be more specific :) my knowledge is not good.
Thanks for bothering to answer.

Seven Skins 12-24-2017 02:20 PM

Post your additional.css here OR send it to me via email.

Stratis 12-24-2017 02:41 PM

1 Attachment(s)
Quote:

Originally Posted by Seven Skins (Post 2591806)
Post your additional.css here OR send it to me via email.

Here it is. Thank you.
Attachment 156813

Some thing strange, after update some changes made. luckily this is an update to a my dev site. I found the vertical lines, in additional.css if I delete this line it goes off
Code:

background:url({vb:stylevar imgdir_themedir}/navSplit.gif) no-repeat top {vb:stylevar right};
Strange strange :)

Seven Skins 12-24-2017 09:33 PM

Code:

.navtabs li {
    /*background:url({vb:stylevar imgdir_themedir}/navSplit.gif) no-repeat top {vb:stylevar right};*/
}

.navtabs li a.navtab {
    /*color:{vb:stylevar navbar_link_color};*/
}

.navtabs li.selected a.navtab {
    /*color:{vb:stylevar navbar_linkhover_color};*/
}


Comment out these lines for the css properties in the additional.css

Stratis 12-25-2017 05:21 AM

I did it, and this changed the color to the "Whats New - New Posts etc"(can not read well because of color)
From where I will change the colors now? The "Private messages etc line is color that I must change to.

Thanks for your help.

Seven Skins 12-25-2017 10:12 AM

Stylevars

Stratis 12-25-2017 02:20 PM

They all messed up. I do not know why this happened in the update. It is not something wrong from me. Some thing changed and has effect in stylevars.
It is better now when I comment those lines. As I see there are many stylevars that take effect to other places rather as supposed to.


Thank you @Seven Skins for you time, really appreciate your help, thanks @Mark. :)


I will fight with these changes and if most goes well maybe I will proceed to update my online site if I do not have big problem with modification.

Seven Skins 12-25-2017 04:17 PM

There has been 100's changes in templates in 425 compared to 420 that's why you have this issue. Start from scratch if you want to replicate your style.

Stratis 12-25-2017 04:18 PM

Quote:

Originally Posted by Seven Skins (Post 2591824)
There has been 100's changes in templates in 425 compared to 420 that's why you have this issue. Start from scratch if you want to replicate your style.


I did not know that, thanks for info.


All times are GMT. The time now is 08:08 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.01224 seconds
  • Memory Usage 1,769KB
  • 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_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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