Sentora Support Forums
Forum anchors and logo with small screens - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: General Forums - (Non-Sentora Support) (https://senforums.mach-hosting.com/forumdisplay.php?fid=1)
+--- Forum: General Discussions (Non-Support Related) (https://senforums.mach-hosting.com/forumdisplay.php?fid=2)
+--- Thread: Forum anchors and logo with small screens (/showthread.php?tid=1433)



Forum anchors and logo with small screens - Ron-e - 04-12-2015

@[TGates] i hope you don't get annoyed by my forum suggestions as i have two new ones.. Tongue


  • The anchors need an offset because the forum has an fixed navbar. 

Does this when using anchor links:
[Image: VFivnSDm.jpg]

Needs to do this:
[Image: bQtbZBem.jpg]


  • When the navbar collapses the Sentora logo stays big.

Does this:
[Image: 0kMmzzgm.jpg]

needs to be:
[Image: AIiyT4Wm.jpg]



I have copied a page of the forum and have a fix for both, but of course there can be things changed when i copied them.
So i am not 100% sure it will work without tweaking..

Add also to bottom off http://forums.sentora.org/cache/themes/theme25/custom.css

Code:
/* fixes offset off anchors for screens with full navbar */ :target:before {  content:"";  display:block;  height:78px;  margin:-78px 0 0; } @media (max-width: 767px) { /* fixes offset off anchors for screens collapsed navbar */ :target:before {  content:"";  display:block;  height:50px;  margin:-50px 0 0; } /* fixes logo size with collapsed navbar */ .navbar-brand img{ transform: scale(0.7, 0.7); -ms-transform: scale(0.7, 0.7); -webkit-transform: scale(0.7, 0.7);  margin-top: -22px; } }



RE: Forum anchors and logo with small screens - TGates - 04-13-2015

added it, image resizes but anchor doesn't change Wink


RE: Forum anchors and logo with small screens - Ron-e - 04-13-2015

(04-13-2015, 03:08 AM)TGates Wrote: added it, image resizes but anchor doesn't change Wink

here it works after reloading the CSS file in chrome and IE.
Try CTRL+F5.. Tongue


RE: Forum anchors and logo with small screens - TGates - 04-13-2015

I use FF, But it does seem to be a bit better. I also notice I have to fix the menu for smaller screens..


RE: Forum anchors and logo with small screens - Ron-e - 04-13-2015

Now i see that in IE (11) when you open a new tab with a anchor it does not work but if you use the anchor link (that #2 thingy) on the page itself it works.  Undecided
In chrome it works normally.... IE SUCKS! Angry


RE: Forum anchors and logo with small screens - Edábio de Araujo Lopes - 04-14-2015

Tem uma falha na minha hospedagem ..., tento adicionar o dominio : importarrelogios.blog.br e me aparece esta mensagem:
You cannot add a Sub-Domain here. Please use the Subdomain manager to add Sub-Domains.

O que fazer?


RE: Forum anchors and logo with small screens - TGates - 04-15-2015

Confused please start a new topic when asking questions. And your topic has nothing to do with this post.