Mobile Design different from website.

Homepage Community Forums Aspire Theme Support Mobile Design different from website.

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #20601
    Digital7
    Customer

      Hello,

      I’m doing check ups loading the website via my mobile to see if it is user-friendly, but the header color remains black on the smartphone version even though I have coded it to be blue which it is on the website.

      Any thoughts on this?

      #20603
      Wes
      Moderator

        Do you have a link to your site? I can figure out the exact line that needs to be changed to get it working.

        #20608
        Digital7
        Customer
          This reply has been marked as private.
          #20612
          Digital7
          Customer
            This reply has been marked as private.
            #20615
            Wes
            Moderator

              I’m just now getting back to this post (busy day as usual).

              Taking a look now….

              #20616
              Wes
              Moderator

                Ok, for the header background, take a look around line 2536 in your style.css and either Remove, Comment out….or change the color of this code –

                	.front-page .site-header {
                		background-color: #000;
                	}

                This shows up in the responsive section to override the main menu when the site is being viewed on mobile devices. So if you remove or change the color then it will show up as the blue color you have.

                It wasn’t originally designed to stay fixed on mobile devices, so if you want it to be, you can start by editing line 2532 in your style.css and Remove or Comment out this code –

                	.site-header {
                		position: static;
                	}

                That will revert to the default position: fixed; which should make it show up in a fixed position. You may have to make additional adjustments to the logo and menu area if you need it to show up a certain way.

                #20619
                Digital7
                Customer
                  This reply has been marked as private.
                  #20625
                  Digital7
                  Customer
                    This reply has been marked as private.
                    #20626
                    Digital7
                    Customer
                      This reply has been marked as private.
                      #20628
                      Wes
                      Moderator
                        This reply has been marked as private.
                        #20629
                        Digital7
                        Customer
                          This reply has been marked as private.
                          #20631
                          Wes
                          Moderator
                            This reply has been marked as private.
                            #20633
                            Digital7
                            Customer
                              This reply has been marked as private.
                              #20640
                              Wes
                              Moderator
                                This reply has been marked as private.
                                #20644
                                Digital7
                                Customer
                                  This reply has been marked as private.
                                  #20655
                                  Wes
                                  Moderator
                                    This reply has been marked as private.
                                    #20656
                                    Digital7
                                    Customer
                                      This reply has been marked as private.
                                      #20657
                                      Wes
                                      Moderator

                                        Ok, just got it done. All I had to do was “Comment Out” that Featured Image section in the functions.php file.

                                        It should now be deactivated on single posts, and will only show up on your main Blog page from now on.

                                        #20659
                                        Digital7
                                        Customer
                                          This reply has been marked as private.
                                          #20666
                                          Wes
                                          Moderator

                                            You’re Welcome!

                                          Viewing 20 posts - 1 through 20 (of 20 total)
                                          • The topic ‘Mobile Design different from website.’ is closed to new replies.