Jump to content

Archived

This topic is now archived and is closed to further replies.

dario

Four questions regarding Tabtastic FullTabs

Recommended Posts

dario

Hi Ellen,

1- Is there a way to center the tabs?

The text within each tab is centered by default but the tabs themselves are aligned left.

 

2- Can the borders of each tab be removed?

None of my targeting seems to have any affect on removing the borders on a hovered tab.

My latest attempt:

.section-fulltabs .fulltabs .nav-tabs > li > a:hover {
border: none !important;
}

The code above seems to do nothing.

 

3- I see that you have 5 ways to order the tabs and the default is Post ID. You'd think that would be plenty but it's not for me. I need to be able to order the tabs specifically. Can this be done in some other way?

 

4- As far as I can tell, there's no way to change authors of the FullTab posts. I can for regular posts, pages and CPTs but not Tabtastic CPTs.

Can 'Author' be added to the screen options?

 

Thanks.

Share this post


Link to post
Share on other sites
ellenmva

dario

 

On questions 1 and 2, let me get back to you.

 

3. I use this plugin, Post Types Order, https://wordpress.org/plugins/post-types-order/ to control order of items. It adds an extra menu item under the Tabs section in wp-admin and you can drag and drop tabs in the order you want.

 

4. I'll add the author in on next update. I'll see if way you can add in meantime.

 

Best,

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
dario

Hi Ellen,

Any success with #1 and 2 yet?

No rush, just wondering.
I'm still on the dev server.

Share this post


Link to post
Share on other sites
ellenmva

dario Finally some progress for you.

 

To center tabs try this css in your Custom CSS Tab. Adding the #page helps to override some of the css contained in the section, a useful trick if trying to target CSS used by DMS or a section, sometimes works :)

#page .section-fulltabs {
  text-align: center;
}

#page .section-fulltabs .nav.nav-tabs { 
  display: inline-block; //need to change to inline-block
}

#page .section-fulltabs .tab-content {
  text-align: left; // need to align tab content back to left
}

Now, on your second question there is no border added on hover that's why CSS isn't working. There is a transparent border added to then put a border radius on so the corners are rounded. If you want to target those elements try this code

#page .section-fulltabs .fulltabs .nav-tabs > li > a {
  border: none; // removes a 1px transparent border
  border-radius: 0; //change to 0 if don't want rounded tabs
}

Lastly, if you want to remove the background on hover completely try this

#page .section-fulltabs .fulltabs .nav-tabs > li > a:hover {
  background: none !important;
}

Let me know if that works for you.

 

Best,

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
dario

Close.

The results of the centering are in the attached images.

Share this post


Link to post
Share on other sites
dario

So I've solved some of this myself, but in the process discovered another issue.

 

The hamburger menu appears, seemingly at random, even when my browser is the full width of my laptop or desktop screen.

It does not truncate all the tab items, unless I reduce the screen size, but it will truncate the last one or two of the four items into a hamburger.

I also see it on your demo site.

 

The first two screen shots have an xscope ruler over them to show the browser width.

#1, your site - #2 my dev site

 

The last shows the drop down item on my site.

 

So, is there a way to control the breakpoint, or better yet, media query to switch the hamburger off if the browser is on a desktop?

Share this post


Link to post
Share on other sites
ellenmva

dario Ya, that hamburger menu is a problem. Let me see what I can do about that. I still need to add the author to the FullTabs post type, might have to make an adjustment so hamburger menu can be turned off on desktop.

 

Best,

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites

  • Similar Content

    • JudithKlinger
      By JudithKlinger+
      Help! I urgently need to remove the "This post was last edited..." that is now appearing anywhere that I've used Single Bits for a post. 
      James Giroux kindly provided this reply...but it does nothing. HELP! 
      This is from the Single Bits section by Ellen.  The code to add to the functions.php to remove this is:
      if(class_exists('elsueSingleBitsPlugin')) { $instance = elsueSingleBitsPlugin::this(); remove_filter('the_content', array($instance , 'add_mod_hatom_data'), 5 ); }
    • JudithKlinger
      By JudithKlinger+
      I'm stuck in a loop. We're developing a magazine type format and having been using Single Bits Single Post as the template..fine, no problem. Looks great! 
      But, some of the articles now have either a lot of media, or multi media, so we wanted to set up another template for these posts. But, if I change the media content on one post, it 
      changes it on the others. I've tried setting up Custom Posts, but that removes the post from the wp post "categories" and then deletes the post from something like HoverNews that pulls by category. 
      So how do I have the media change for each post? I've tried setting up a separate template for each of these particular, media specific posts...but that doesn't help either because they are posts, not pages. 
      Can PM you the link as the site is not live yet. Thanks!!
    • stoltz
      By stoltz+
      I want to change the text color of the post title in a specific post - How do I do that through CSS?
       
      I've downloaded a plugin which allows me to add custom CSS in specific posts, but I do not seem to get the selectors right.
       
      I am using the light-bg class on the single-bit container as well, which then includes a single-bit with the post title.
       
       
       
       
    • flourishdesignstudio
      By flourishdesignstudio+
      I am working on a website right now that uses custom tab colors that also match the background color of the tab content area. However, when a tab is open the tab bg color appear slightly different than the bg of the content area. I have double checked all my setting and can't seem to find a way to override this. 
       
      Would a link be helpful so you can see what I am referring to? I will include a screenshot in case that works...
       
      Thank you so much for all your help!
       
×