0

I'd like to edit the link properties of a specific page so they direct elsewhere than what I specified in the social settings menu, which works globally. So, as it is now the links inherit their properties and theres no way in the cms to change this for every page. Is there a way to add it in the css? I'm not sure how to format it correctly. Here's the hmtl:

The page id: body.page-id-85

The HTML:

<div class="wrapper">
    <div class="thb-social-home">
        <a title="Facebook" href="https://www.facebook.com/">
           <span class="thb-social-icon">2</span>
        </a>
        <a title="YouTube" href="http://www.youtube.com/">
           <span class="thb-social-icon">5</span>
        </a>
    </div>
</div>

Thanks!!

2
  • try to add inline styles using style="YOURSTYLES" Commented Dec 18, 2013 at 4:04
  • You will probably have to create a custom page-template to be used for that specific page. Maybe this will help: codex.wordpress.org/Page_Templates Commented Dec 18, 2013 at 4:09

1 Answer 1

1

You can use body.page-id-85 as base selector for this page:

#body.page-id-85 .wrapper {
  /* wrapper specific rules*/
}

#body.page-id-85 .thb-social-home {
  /* thb-social-home rules */
}
Sign up to request clarification or add additional context in comments.

3 Comments

This is amazing if this is possible I didn't know this :)
If it's not to much bother... how would I style the CSS? Basically how would I translate the HTML above? Thanks!!
sorry I don't quite understand what you mean.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.