Custom template not allowing links
-
First off, can I just say I am not a techie, just a designer struggling with new technology so I am not familiar with very technical terms!
I’ve created a template called homepage.php which I have applied to my home page (surprisingly). The main purpose was to change the appearance of the ‘content’ div on that page only. I just duplicated the page.php file and renamed it. Then I renamed ‘#content’ to ‘#content-home’ and ‘entry-content’ to ‘entry-content-home’. I then wrote a css style for #content-home in my child style.css file. All fine up until now and displays as I want it. However, with this template applied, the links in my content area are not selectable (all the links elsewhere on the page are fine). Please see https://1056618737.test.prositehosting.co.uk . If I reapply the standard page.php template, the links become selectable again. When I look at it in Firebug with homepage.php applied, it seems that the sidebar widgets are ‘masking’ the main content area. If I ‘push’ them out of the way, I can get to my links. The problem seems to be in the renaming of the divs in the template but without doing that, how can I specify a separate style in the css?
I have created two sample pages with the same content. https://1056618737.test.prositehosting.co.uk/lesleys-test-page-default-template/ has the default template applied and works fine but https://1056618737.test.prositehosting.co.uk/lesley-test-page-homepage-template/with homepage template applied does not allow me to select the links (text and image) (ignore that the top is chopped off… because of the homepage css).
I have literally been staring at this for days and I am absolutely stumped. Please can anyone help? It is probably something very obvious but I can’t see the wood for the trees. Any help would be really appreciated.
Thanks
- The topic ‘Custom template not allowing links’ is closed to new replies.