Jump to content

Archived

This topic is now archived and is closed to further replies.

ajburnet

Centre Navi bar

Recommended Posts

ajburnet

Hi,

 

Running DMS 2.4 on Wordpress 4.0. URL: blog.amfora.com.au

 

Hi - is there any way to centre the Navi bar menu items? 

 

Thanks,

 

Alex.

Share this post


Link to post
Share on other sites
Danny

Hi Alex,

 

First things first, I recommend you disable your cache plugin as your site has no styling for me. You also do not want to have your cache active when you're adding custom CSS, as it will likely cause you issues.

 

Add the following code to your custom CSS, this should center your navigation.

 

#site .navi-right,
#site .navi-right ul {
  float: none;
}

 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
ajburnet

Danny,

 

Many thanks. Yes - I've raised a support ticket as I couldn't understand why the published version had no styling- I guess it's cached it minus CSS and other elements, not quite sure why but there we go. Assume this can be re-activated once published and complete?

 

CSS did the job, cheers!

 

Alex.

Share this post


Link to post
Share on other sites
Danny

Cache plugins need to be configured to match your server configuration. If you're encountering issues then it is likely the cache plugin has been configured in such a way that it is causing issue. This isn't something we can assist you.

However, what I will say is that unless your site received huge traffic, cache plugins aren't really needed. If you're using the cache plugin to improve your sites performance, then what you're effectively doing is band aiding a larger issue. I have just this moment added your domain to a reverse IP check and found that you're using shared hosting. I know this for certain as the server (IP) has over 118 websites sharing the same server resources.

Shared Hosting is known to have poor performance, so for me personally I would recommend switching host or changing your your package to something other than shared hosting.

At PageLines we recommend either FlyWheel, Digital Ocean or Linode.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
ajburnet

Thanks - yup, suspected the shared and cheap option was exactly that - cheap.

 

I'll no doubt look at alternatives when the traffic justifies it, its also annoying as hell working with it!

 

Appreciate the pointer however.

 

Alex.

 

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×