Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

A

andlia

@andlia
About
Posts
9
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Making LayTheme Faster
    A andlia

    Hi,

    Is there a way to make my website load a bit faster?

    Refer to: https://developers.google.com/speed/pagespeed/insights/?url=andyliang.com&tab=desktop

    Thanks in advance!

    General Discussion

  • Removing the em dash and project/page title from website title.
    A andlia

    Hello,

    I'm trying to remove the em dash and project/page title from the website titles of projects and pages. I was able to remove the em dash by going into frontend.php and removing the code that does that:

    wp_localize_script( 'frontend-app', 'passedDataHistory', array( 'titleprefix'=>get_bloginfo('name').' — ', 'title'
    =>get_bloginfo('name') ) );

    But what I get is my name and the project/page title still appended in my website title. Any help would be appreciated.

    Thanks!

    General Discussion

  • Custom Class for Navigation Link
    A andlia

    Hey there,

    I currently have some code in the Custom CSS portion that works great on anything in the body since I have the option to assign a class to a specific element in the body. How do I do the same, but for navigation links?

    Thanks!

    General Discussion

  • Non-fixed menu for mobile?
    A andlia

    Hey Armin,

    I was wondering if it would be possible to have a non-fixed menu for mobile. I was able to disable the fixed menu for desktop, but not for mobile.

    Thanks!

    General Discussion

  • Custom HTML, CSS and Javascript
    A andlia

    @arminunruh Wow, I feel so dumb.

    That worked. Thanks for your help and allowing me to try out Lay Theme. I'll buy a license in a couple of weeks when I receive my paycheck. Thanks again!

    General Discussion

  • Custom HTML, CSS and Javascript
    A andlia

    Hey Armin,

    Thanks for offering me access to the test account. The basics of it is very intuitive and user friendly, but I can't seem to have any of my custom Javascript working.

    I'm adding Frontend.module("GlobalEvents").on('projectpage', function(){ in front of it, but it still isn't working.

    The console is giving me an error, saying that its an "Uncaught TypeError: $ is not a function". I tried the HTML, CSS and Javascript in JFiddle and it's working fine, so I don't know what's going on.

    Thanks in advance!

    Here is my code:

        $(document).mousemove(function (e) {
                $(".Ship").css({
                    left: e.pageX + 15,
                    top: e.pageY + 15
                });
                $(".Shit").css({
                    left: e.pageX + 15,
                    top: e.pageY + 15
                });
            });
            
        $('span.spec.b').hover(function(){
            $('.Ship').css('opacity', '1');
        }, function(){
            $('.Ship').css('opacity', '0');
        });
    
        $('span.spec.c').hover(function(){
            $('.Shit').css('opacity', '1');
        }, function(){
            $('.Shit').css('opacity', '0');
        });
    });
    </script>
    General Discussion

  • Custom HTML, CSS and Javascript
    A andlia

    @arminunruh Yes, I wanted to know if what I wanted to create was going to work with Lay Theme before I purchased it so a test account would be perfect. Thanks Armin! :smile:

    General Discussion

  • Custom HTML, CSS and Javascript
    A andlia

    Hey Armin,

    This is a specific question so I wouldn't be surprised if you just glossed over this, but I have a specific customization in mind and I'm wondering if it would work with Lay Theme.

    To summarize, I want to incorporate code that would allow the user to see a picture when the cursor hovers over it. An example can be found here: http://jsfiddle.net/KumcX/1899/

    The code would utilize custom HTML, CSS, and Javascript. Would that be possible with Lay Theme?

    If this question or similar to it has been answered already, please accept my apologies.

    Thanks!

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search