MyBB Community Forums

Full Version: Focus Theme - Clean and Elegent
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
I have another question,

How can I make the Welcomeblock edit that it stops moving when I scroll down ?
(2017-09-22, 06:31 PM)Hoffi Wrote: [ -> ]I have another question,

How can I make the Welcomeblock edit that it stops moving when I scroll down ?

It is simple to do, you have to modify your headerinclude template, go to admin cp > theme> template> Focus> Misc Template > headerinclude > Edit

Remove the script
<script type="text/javascript">
$(function(){
 var shrinkHeader = 160;
  $(window).scroll(function() {
    var scroll = getCurrentScroll();
      if ( scroll >= shrinkHeader ) {
           $('.header').addClass('shrink');
        }
        else {
            $('.header').removeClass('shrink');
        }
  });
function getCurrentScroll() {
    return window.pageYOffset || document.documentElement.scrollTop;
    }
});
</script>

Regards
WallBB
Ok, that worked fine ! Thank you

But I have another question. I added a Picture as a Header. But if i scale my browser it doesnt scale the Image
I tried a few things but it still wont work.
(2017-09-24, 10:21 AM)Hoffi Wrote: [ -> ]Ok, that worked fine ! Thank you

But I have another question. I added a Picture as a Header. But if i scale my browser it doesnt scale the Image
I tried a few things but it still wont work.

Can you share your website url ?

Regards
WallBB
(2017-09-24, 04:13 PM)WallBB Wrote: [ -> ]
(2017-09-24, 10:21 AM)Hoffi Wrote: [ -> ]Ok, that worked fine ! Thank you

But I have another question. I added a Picture as a Header. But if i scale my browser it doesnt scale the Image
I tried a few things but it still wont work.

Can you share your website url ?

Regards
WallBB

Of course:

https://dienacktewahrheit.net/
(2017-09-24, 04:18 PM)Hoffi Wrote: [ -> ]
(2017-09-24, 04:13 PM)WallBB Wrote: [ -> ]
(2017-09-24, 10:21 AM)Hoffi Wrote: [ -> ]Ok, that worked fine ! Thank you

But I have another question. I added a Picture as a Header. But if i scale my browser it doesnt scale the Image
I tried a few things but it still wont work.

Can you share your website url ?

Regards
WallBB

Of course:

https://dienacktewahrheit.net/

Modify your header css with below code
background-size: 100%;
background-repeat: no-repeat;
Also your header image size is not correct, you should fix that Wink

Regards
WallBB
FOCUS THEME UPDATES :-
1. Fix issues related to javascript in headerinclude general.js
2. Updated font awesome library to 4.7.0
3. Footer information related to theme version is updated.
4. Added general documentation for Focus MyBB Theme

Download is available at
https://github.com/WallBB/focus-mybb-theme
https://community.mybb.com/mods.php?action=view&pid=671
https://wallbb.co.uk/product/focus-flat-mybb-theme/

Regards
WallBB
Okay I need some help modifying the font.  I see you used "Lobster" from google fonts.  I want to change that to "Josefin" and I went into the global CSS and modified all Lobster instances to 

font-family: 'Josefin Sans', sans-serif;

I also put this on the very top line:
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">


and it DID change the font, but it doesn't look like the one I want, it looks like the fail-safe sans serif one.



Triggerwarning.org
Are you putting it in the "headerinclude" template located in "Ungrouped"? 

Mine looks like this:

<link href='https://fonts.googleapis.com/css?family=Exo+2' rel='stylesheet' type='text/css'>

And works perfectly fine
(2017-10-26, 09:44 AM)GXD3S Wrote: [ -> ]Are you putting it in the "headerinclude" template located in "Ungrouped"? 

Mine looks like this:

<link href='https://fonts.googleapis.com/css?family=Exo+2' rel='stylesheet' type='text/css'>

And works perfectly fine
No I put it in global CSS and changed every instance of the old font. I'll try it this way though.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45