I am using Mantle for my site. I have 2 issues with the same page, can anyone help?
1 – The menu is supposed to move down the page, staying at the top of your screen as you scroll down. It does this for all pages, except one.
2 – I use ‘Modular Custom CSS’ to change the colours of some links, specific to a page. All other pages (up to now) work, with the exception of this page.
The page in question is https://royalflush-poker.co.uk/888poker/
Can someone please point out the error of my ways, as it is doing my head in!!!
Thanks
Steve
]]>Since there is no built-in option for custom CSS within the theme (future addition?) and it’s already so close to perfect, rather than creating a child theme I am using the Simple Custom CSS plugin. At this point the unsuccessful code is:
/* link hover state */
.paging-navigation .current, .paging-navigation .current {
background-color: #ca6b1e !important;
}
.page-links span a, .page-links a:hover {
background: #ca6b1e !important;
}
/* Site Header/Footer */
.th-slider-readmore-button a {
background: #ca6b1e !important;
}
.site-footer a:hover {
color: #ca6b1e !important;
}
What am I missing? What should I change?
Thank you in advance!
]]>Active
Visited
Hover….
I want this to take place for every link on the entire site. Can you give me some code to just drop into my child theme?
https://tomsautoweb.com/
]]>Question 2: how do i change my index.php to show different link styles.
Like some thumbnails with preview, others with traditional blog styles, and some in just “text” link form.
Thanks!
]]>Is there a plug-in that anyone knows of that would get this done or does someone have a way to do this through some other programming.
Let me know if this makes sense as it is somewhat confusing.
]]>foreach($pages as $page)
{
$option = '<li id="notcurrent"><a href="./?page_id='. $page->ID . '">' . $page->post_title . '</a></li>';
$option2 = '<li id="current"><a href="./?page_id='. $page->ID . '">' . $page->post_title . '</a></li>';
if (is_page($page))
{
echo $option2;
}
else
{
echo $option;
}
}
I have a problem with this code:
When 2 different pages have same name (which may occur), they both display with the same “current style”.
How can I change this code to make it work even with pages with same names (but different ids)?
https://lucashutmacher.com/kclinks/
i’m not entirely sure where this is held, but it ends up leaving a bunch of ‘dead’ space on the page.
Thanks a ton!!
]]>