Wongshag
Forum Replies Created
-
Forum: Themes and Templates
In reply to: PHP code help needed Tabs and TitlesIs there any way of using the line
<a class="slide-link" href="#tab-<?php the_ID(); ?>">
but adding to it some code that shows the post name but allows the javascript to use the #tab bit?Many of the edit changes I have made cause the whole layout of the site to change, in a major way. I have added code to make the hover show xxx/com/wines/#tab-143pinotage-chenin-blanc which is almost there I just then need to hide the #tab-143 bit.
Sounds a bit unclear but that’s what I need
Forum: Themes and Templates
In reply to: PHP code help needed Tabs and TitlesThanks Howard and Leopard. Both options mess up my javascript. I presume it is in the loop – here is my entire original code from the section we are discussing:
<div class="product-section"> <?php $count=0; while(have_posts()): the_post();?> <?php if($count%4==0):?> <div class="row"> <div class="tabset"> <?php endif;?> <a class="slide-link" href="#tab-<?php the_ID(); ?>"> <?php the_post_thumbnail('wine_thumbnail', array('class' => 'alignleft')) ?> <span class="description" > <strong class="title"><?php the_title() ?></strong> <span class="text" ><?php echo strip_tags(get_the_excerpt()) ?></span> <span class="link" >Read more</span> </span> <em class="decor"></em> </a> <?php $count++;?> <?php if($count%4==0):?> </div>
Forum: Themes and Templates
In reply to: PHP code help needed Tabs and TitlesSorry that first line should say Template
Forum: Themes and Templates
In reply to: Tabs need to show page title not tab numberCould this be anywhere outside the permalink structure?
Forum: Themes and Templates
In reply to: Tabs need to show page title not tab numberPermalinks are already set to %post_name% and show fine on the normal pages but not on the tabs or any subpages
Forum: Themes and Templates
In reply to: [Mantra] Changing font size?Thanks Z, when I insert into the custom CSS box, I see no change on the site, I tried adding the !important; bit in but it seems default settings are overriding whatever I put in there.
Or do I add the <span> code elsewhere?
Forum: Themes and Templates
In reply to: [Mantra] Changing font size?Hello Cryout, not sure if I should start a new topic. Looking to change that same front-text2 so I can do it with 2 colours but I cannot get the HTML tags to work in the Mantra Settings>presentation page> second title box.
Can I also insert this in the custom CSS box?
This is what I need to insert there:
<font color=#ff0000>Welcome to</font> <font color=#ff0000>sitename</font>
Thanks for a smashing theme!