• 0

Would like help troubleshooting some WordPress CSS


Question

Hey all,

Thought I'd ask the people of the good ship Neowin to see if they can help. I've purchased a Wordpress theme and was using it fine until I decided to use drop down menus.

They are there but the background on the menu when it drops down isn't. I've tried a few tools to see what css selector it might be.

Can anyone out there lend a hand. It's the main drop down menu at essentialmac.co.uk.

Thanks in advance

6 answers to this question

Recommended Posts

  • 0

Thanks for the code, ill get it added shortly.

Right now I'm wondering why the smallest file on my server, selection.php which only contains this ..

a {

?color:#31ABC5;

}

a:hover {

?color:#111111;

}

Is causing a 15 second wait time.

Edited by shifts
  • 0
  On 10/09/2012 at 13:55, shifts said:

Thanks for the code, ill get it added shortly.

Right now I'm wondering why the smallest file on my server, selection.php which only contains this ..

a {

color:#31ABC5;

}

a:hover {

color:#111111;

}

Is causing a 15 second wait time.

This isn't PHP, perhaps that's causing issues. Are you sure this shouldn't end with .css? I get a 1.036s waiting time on the file though, not 15s.

This is a strange file as well... wp-content/plugins/gd-star-rating/css/gdsr.css.php, which only contains css. Dunno, I'm only using Dragonfly and viewing the front page files list.

  • 0

It was an interesting one. I added a cname with my domain name register to add just essentialmac without the WWW and suddenly things started loading like I thought they would do.

Yup, I know it's not PHP so I contacted the developer of the wordpress theme but had no reply so I've no idea what css is inside a php file.

Im staring to think that W3 Total Cache may be a touch advanced for my actual needs and might shift to something simpler.

I'm struggling to find out where to add that css if anyone can shine a light.

  • 0

I personally use Firefox with Firebug installed, using both of those together, it really makes things smoother when trying to find the correct CSS file. Caching while developing though is a big PITA. Disable the cache in Cloudflare too (I looked at your DNS records), until you are ready to deploy. It will save you time in the long run.

Might want to look for the css in this file though:

http://www.essential...g/css/style.css

:)

  • 0

It isn't in a separate CSS file but in a PHP file that adds a style to the li marked in red.


<div id="menu">
<ul id="menu-deals-and-discounts-codes" class="menu sf-js-enabled sf-shadow">
<li id="menu-item-3454" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3454">
<a href="http://www.essentialmac.co.uk/category/deals-offers/">Deals & Offers</a>
</li>
<li id="menu-item-3524" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-3524">
<a href="http://www.essentialmac.co.uk/tag/reviewed/" class="sf-with-ul">
Reviewed
<span class="sf-sub-indicator"> ?</span>
</a>
<ul class="sub-menu" style="float: none; width: 12em; display: none; visibility: hidden">
<li id="menu-item-3525" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-3525" style="float: left; width: 100%; white-space: normal">
<a href="http://www.essentialmac.co.uk/tag/iphone-accessories/" style="float: none; width: auto; padding-left: 15px;">iPhone Bits</a>
</li>
<li id="menu-item-3523" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-3523" style="float: left; width: 100%; white-space: normal">
<a href="http://www.essentialmac.co.uk/tag/ipad-accessories/" style="float: none; width: auto; padding-left: 15px">iPad Accessories</a>
</li>
</ul>
</li>
</ul>
</div>
[/CODE]

[color=#ff0000]style="float: none; width: auto; padding-left: 15px"[/color]

You can add a background css property to the style in the PHP file, like

[color=#FF0000]style="float: none; width: auto; padding-left: 15px; background:#ce0;"[/color]

Try "Search in files" for [color=#FF0000]float: none; width: auto; padding-left[/color] using Notepad++

Tip of the week! :)

Opera and it's built in Dragonfly web development tool, the greatest there is! :D

This topic is now closed to further replies.
  • Posts

    • And they are both to blame. SEO optimisation and the knowledge panel killed web search. Both companies knew what they were doing. Now an interactive/dedicated knowledge panel is the front and centre of AI search, with websites simply being a back end to feed data to these tech giants. Don't need to pay ad money to websites if users dont visit them in the first place. https://arstechnica.com/ai/202...site-clicks-by-almost-half/
    • People yearn for the good old days of IRC and truly open Internet, yet are dismissive of modern solutions like ActivityPub (which Mastodon pioneered) and Matrix. Make it make sense.
    • AI judges learn new tricks to fact-check and code better by Paul Hill Image via Pixabay AI researchers and developers are increasingly turning to large language models (LLMs) to evaluate the responses of other LLMs in a process known as “LLM-as-a-judge”. Unfortunately, the quality of these evaluations degrades on complex tasks like long-form factual checking, advanced coding, and math problems. Now, a new research paper published by researchers from the University of Cambridge and Apple outlines a new system that augments AI judges with external validation tools to improve their judgment quality. This system aims to overcome limitations found in both human and AI annotation. Humans face challenges and biases due to time limits, fatigue, and being influenced by writing style over factual accuracy while AI struggles with the aforementioned complex tasks. The Evaluation Agent that the researchers created is agentic so it can assess the response to determine if external tools are needed and utilizes the correct tools. For each evaluation, three main steps are passed through: initial domain assessment, tool usage, and a final decision. The fact-checking tool uses web search to verify atomic facts within a response; code execution leverages OpenAI’s code interpreter to run and verify code correctness; and math checker is a specialized version of the code execution tool for validating mathematical and arithmetic operations. If none of the tools are found to be useful for making judgments, the baseline LLM annotator is used to avoid unnecessary processing and potential performance regression on simple tasks. The system delivered notable improvements in long-form factual checking, with significant increases in agreement with ground-truth annotations across various baselines. In coding tasks, the agent-based approach significantly improved performance across all baselines. For challenging math tasks, the agents improved performance over some baselines, but not all, and overall agreement remained relatively low at around 56%. Notably, the researchers found that in long-form factual responses, the agent’s agreement with ground-truth was higher than that of human annotators. This framework is extensible, so in the future, other tools could be integrated to further improve LLM evaluation systems. The code for the framework will be made open source on Apple’s GitHub, but it isn’t up yet.
    • https://www.neowin.net/news/tags/mastodon/ In short: Federated Twitter (X)
  • Recent Achievements

    • Collaborator
      fernan99 earned a badge
      Collaborator
    • Collaborator
      MikeK13 earned a badge
      Collaborator
    • One Month Later
      Alexander 001 earned a badge
      One Month Later
    • One Month Later
      Antonio Barboza earned a badge
      One Month Later
    • Week One Done
      Antonio Barboza earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      592
    2. 2
      ATLien_0
      224
    3. 3
      Michael Scrip
      171
    4. 4
      Xenon
      140
    5. 5
      +FloatingFatMan
      129
  • Tell a friend

    Love Neowin? Tell a friend!